You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.2 KiB

4 years ago
import { GaugeTimeSerie, GaugeOptions, Stat } from './types';
4 years ago
import { ChartwerkPod } from '@chartwerk/core';
4 years ago
export declare class ChartwerkGaugePod extends ChartwerkPod<GaugeTimeSerie, GaugeOptions> {
4 years ago
private _gaugeTransform;
4 years ago
private _gaugeCenter;
4 years ago
constructor(el: HTMLElement, _series?: GaugeTimeSerie[], _options?: GaugeOptions);
renderMetrics(): void;
4 years ago
private _renderValue;
private _renderValueArc;
private _renderThresholdArc;
private get _d3Pie();
4 years ago
private get _valueArcColors();
private get _mainCircleColor();
private get _stopsRange();
4 years ago
private get _valueRange();
4 years ago
private get _sortedStops();
4 years ago
private get _stopsValues();
4 years ago
private get _colors();
4 years ago
private get _valueText();
private get _valueTextFontSize();
4 years ago
private get _stat();
private get _innerRadius();
private get _outerRadius();
4 years ago
private get _valueTextDecimals();
4 years ago
private get aggregatedValue();
private get _maxValue();
4 years ago
onMouseOver(): void;
onMouseMove(): void;
onMouseOut(): void;
renderSharedCrosshair(): void;
hideSharedCrosshair(): void;
}
export declare const VueChartwerkGaugePodObject: {
render(createElement: any): any;
mixins: {
props: {
id: {
type: StringConstructor;
required: boolean;
};
series: {
type: ArrayConstructor;
required: boolean;
default: () => any[];
};
options: {
type: ObjectConstructor;
required: boolean;
default: () => {};
};
};
watch: {
id(): void;
series(): void;
options(): void;
};
mounted(): void;
methods: {
render(): void;
renderChart(): void;
appendEvents(): void;
zoomIn(range: any): void;
zoomOut(center: any): void;
mouseMove(evt: any): void;
mouseOut(): void;
onLegendClick(idx: any): void;
panningEnd(range: any): void;
contextMenu(evt: any): void;
};
}[];
methods: {
render(): void;
};
};
4 years ago
export { GaugeOptions, GaugeTimeSerie, Stat };