Browse Source

upd dist

merge-requests/1/merge
rozetko 3 years ago
parent
commit
fc6a5fd051
  1. 20
      dist/index.d.ts
  2. 46986
      dist/index.js
  3. 7
      dist/types.d.ts

20
dist/index.d.ts vendored

@ -1,17 +1,17 @@
import { GaugeTimeSerie, GaugeOptions, Stat } from './types';
import { GaugeTimeSerie, GaugeOptions } from './types';
import { ChartwerkPod } from '@chartwerk/base';
export declare class ChartwerkGaugePod extends ChartwerkPod<GaugeTimeSerie, GaugeOptions> {
gaugeTransform: string;
private _gaugeTransform;
constructor(el: HTMLElement, _series?: GaugeTimeSerie[], _options?: GaugeOptions);
get valueRange(): number[];
get colors(): string[];
get stat(): Stat;
get stops(): number[];
get innerRadius(): number;
get outerRadius(): number;
get aggregatedValue(): number;
renderNeedle(): void;
renderMetrics(): void;
private get _valueRange();
private get _colors();
private get _stat();
private get _innerRadius();
private get _outerRadius();
private get aggregatedValue();
private get _maxValue();
private _renderNeedle;
onMouseOver(): void;
onMouseMove(): void;
onMouseOut(): void;

46986
dist/index.js vendored

File diff suppressed because one or more lines are too long

7
dist/types.d.ts vendored

@ -10,8 +10,11 @@ export declare type GaugeOptionsParams = {
innerRadius: number;
outerRadius: number;
maxValue: number;
stops: number[];
colors: string[];
stops: {
color: string;
value: number;
}[];
defaultColor: string;
stat: Stat;
};
export declare type GaugeOptions = Options & Partial<GaugeOptionsParams>;

Loading…
Cancel
Save