Browse Source

dist upd

merge-requests/1/merge
vargburz 4 years ago
parent
commit
554201994b
  1. 4
      dist/index.d.ts
  2. 47011
      dist/index.js
  3. 8
      dist/utils.d.ts

4
dist/index.d.ts vendored

@ -4,8 +4,12 @@ export declare class ChartwerkGaugePod extends ChartwerkPod<GaugeTimeSerie, Gaug
private _gaugeTransform;
constructor(el: HTMLElement, _series?: GaugeTimeSerie[], _options?: GaugeOptions);
renderMetrics(): void;
private get _valueArcColors();
private get _mainCircleColor();
private get _stopsRange();
private get _valueRange();
private get _sortedStops();
private get _stopsValues();
private get _colors();
private get _stat();
private get _innerRadius();

47011
dist/index.js vendored

File diff suppressed because one or more lines are too long

8
dist/utils.d.ts vendored

@ -0,0 +1,8 @@
/**
* Finds the closest item to a given number in an array using binary search
* @argument arr: ascending sorted array
* @argument num: number to find
* @returns index of the closest item to `num`
* @returns -1 if given array is empty
*/
export declare function findClosest(arr: number[], num: number): number;
Loading…
Cancel
Save