Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
bottomText: { (): string; (_: string): Gauge };
bottomText_exists: () => boolean;
bottomTextYOffset: { (): number; (_: number): Gauge };
bottomTextYOffset_exists: () => boolean;
animatationDuration: { (): number; (_: number): Gauge };
animatationDuration_exists: () => boolean;
useClonedPalette: { (): boolean; (_: boolean): Gauge };
useClonedPalette_exists: () => boolean;
// I1DChart
_palette;
click: (row, column, selected) => void;
dblclick: (row, column, selected) => void;
}
Gauge.prototype._class += " amchart_Gauge";
Gauge.prototype.implements(I1DChart.prototype);
Gauge.prototype.publish("paletteID", "default", "set", "Palette ID", Gauge.prototype._palette.switch(), { tags: ["Basic", "Shared"] });
Gauge.prototype.publish("low", 0, "number", "Gauge lower bound", null, { tags: ["Intermediate", "Shared"] });
Gauge.prototype.publish("high", 100, "number", "Gauge higher bound", null, { tags: ["Intermediate", "Shared"] });
Gauge.prototype.publish("fontSize", 11, "number", "Font Size", null, { tags: ["Basic", "Shared"] });
Gauge.prototype.publish("fontFamily", "Verdana", "string", "Font Name", null, { tags: ["Basic", "Shared", "Shared"] });
Gauge.prototype.publish("fontColor", "#000000", "html-color", "Font Color", null, { tags: ["Basic", "Shared"] });
Gauge.prototype.publish("axisLineWidth", 1, "number", "Thickness of axis", null, { tags: ["Intermediate"] });
Gauge.prototype.publish("colorType", "a", "set", "", ["a", "b", "c"], { tags: ["Basic"] });
Gauge.prototype.publish("marginLeft", null, "number", "Margin (Left)", null, { tags: ["Intermediate"] });
Gauge.prototype.publish("marginRight", null, "number", "Margin (Right)", null, { tags: ["Intermediate"] });
Gauge.prototype.publish("marginTop", null, "number", "Margin (Top)", null, { tags: ["Intermediate"] });
.merge(lines)
.attr("d", geoPath())
.attr("fill", d => this.showContourFill() ? this._palette(d.value, minValue, maxValue) : "none")
.attr("stroke", this.contourStrokeColor())
.attr("stroke-linejoin", "round")
.attr("stroke-width", this.contourStrokeWidth())
;
lines.exit().remove();
}
exit(_domNode, _element) {
super.exit(_domNode, _element);
}
}
Contour.prototype._class += " chart_Contour";
Contour.prototype.implements(I1DChart.prototype);
export interface Contour {
paletteID(): string;
paletteID(_: string): this;
useClonedPalette(): boolean;
useClonedPalette(_: boolean): this;
showContourFill(): boolean;
showContourFill(_: boolean): this;
showContour(): boolean;
showContour(_: boolean): this;
contourBandwidth(): number;
contourBandwidth(_: number): this;
contourStrokeColor(): string;
contourStrokeColor(_: string): this;
contourStrokeWidth(): number;
contourStrokeWidth(_: number): this;