Browse Source

dist upd

merge-requests/1/merge
vargburz 3 years ago
parent
commit
05bc2fb0a0
  1. 9
      dist/index.d.ts
  2. 2
      dist/index.js
  3. 4
      dist/types.d.ts

9
dist/index.d.ts vendored

@ -2,8 +2,13 @@ import { GaugeTimeSerie, GaugeOptions, Stat } from './types';
import { ChartwerkPod } from '@chartwerk/core';
export declare class ChartwerkGaugePod extends ChartwerkPod<GaugeTimeSerie, GaugeOptions> {
private _gaugeTransform;
private _gaugeCenter;
constructor(el: HTMLElement, _series?: GaugeTimeSerie[], _options?: GaugeOptions);
renderMetrics(): void;
private _renderValue;
private _renderValueArc;
private _renderThresholdArc;
private get _d3Pie();
private get _valueArcColors();
private get _mainCircleColor();
private get _stopsRange();
@ -11,12 +16,14 @@ export declare class ChartwerkGaugePod extends ChartwerkPod<GaugeTimeSerie, Gaug
private get _sortedStops();
private get _stopsValues();
private get _colors();
private get _valueText();
private get _valueTextFontSize();
private get _stat();
private get _innerRadius();
private get _outerRadius();
private get _valueTextDecimals();
private get aggregatedValue();
private get _maxValue();
private _renderNeedle;
onMouseOver(): void;
onMouseMove(): void;
onMouseOut(): void;

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

4
dist/types.d.ts vendored

@ -9,6 +9,9 @@ export declare type Stop = {
color: string;
value: number | null;
};
export declare type ValueTextFormat = {
decimals: number;
};
export declare type GaugeTimeSerie = TimeSerie;
export declare type GaugeOptionsParams = {
innerRadius: number;
@ -20,5 +23,6 @@ export declare type GaugeOptionsParams = {
}[];
defaultColor: string;
stat: Stat;
valueTextFormat: ValueTextFormat;
};
export declare type GaugeOptions = Options & Partial<GaugeOptionsParams>;

Loading…
Cancel
Save