tsiclient
Version:
<a href="https://tsiclientsample.azurewebsites.net"><img src="https://insights.timeseries.azure.com/favicons/android-chrome-192x192.png" align="left" hspace="10" vspace="6" height="100px"></a>
196 lines (195 loc) • 6.48 kB
TypeScript
import { Strings } from "./Component-8ea21f2e";
import { YAxisStates } from "./Enums-c244dc9e";
interface swimLaneOption {
yAxisType: YAxisStates;
label?: string;
onClick?: (lane: number) => any;
collapseEvents?: string;
}
declare class ChartOptions {
aggTopMargin: number;
arcWidthRatio: number;
autoTriggerBrushContextMenu: boolean;
availabilityLeftMargin: number;
bucketSizeMillis: number;
brushClearable: boolean;
brushContextMenuActions: Array<any>;
brushHandlesVisible: boolean;
brushMoveAction: any;
brushMoveEndAction: any;
brushRangeVisible: boolean;
canDownload: boolean;
color: string;
colors: Array<string>;
dateLocale: string;
defaultAvailabilityZoomRangeMillis: number;
defaultColor: any;
dTPIsModal: boolean;
ellipsisItems: Array<any>;
focusHidden: boolean;
fromChart: boolean;
grid: boolean;
hideChartControlPanel: boolean;
includeDots: boolean;
includeEnvelope: boolean;
includeTimezones: boolean;
initialValue: any;
interpolationFunction: any;
isArea: boolean;
isColorValueHidden: boolean;
isCompact: boolean;
isTemporal: boolean;
is24HourTime: boolean;
keepBrush: boolean;
keepSplitByColor: boolean;
labelSeriesWithMarker: boolean;
legend: string;
markers: Array<any>;
maxBuckets: number;
minBrushWidth: number;
minutesForTimeLabels: boolean;
noAnimate: boolean;
numberOfColors: number;
updateInterval: number;
offset: any;
onClick: (d3Event: any) => void;
onInput: (searchText: string, event: any) => void;
onInstanceClick: (instance: any) => any;
onKeydown: (d3Event: any, awesompleteObject: any) => void;
onMarkersChange: (markers: Array<number>) => any;
onMouseout: () => void;
onMouseover: (aggKey: string, splitBy: string) => void;
onSelect: (value: any) => void;
onSticky: (aggKey: string, splitBy: string) => void;
onUnsticky: (aggKey: string, splitBy: string) => void;
preserveAvailabilityState: boolean;
persistDateTimeButtonRange: boolean;
scaledToCurrentTime: boolean;
spMeasures: Array<string>;
scatterPlotRadius: Array<number>;
spAxisLabels: Array<string>;
singleLineXAxisLabel: boolean;
snapBrush: boolean;
stacked: boolean;
shouldSticky: boolean;
strings: any;
suppressResizeListener: boolean;
swimLaneOptions: {
[key: number]: swimLaneOption;
} | null;
theme: string;
timeFrame: any;
timestamp: any;
tooltip: boolean;
throttleSlider: boolean;
warmStoreRange: Array<string>;
xAxisHidden: boolean;
xAxisTimeFormat: (d: any, i: any, isFirst: any, isLast: any) => {};
yAxisHidden: boolean;
yAxisState: string;
yExtent: any;
zeroYAxis: boolean;
withContextMenu: boolean;
hierarchyOptions: any;
onError: (titleKey: any, messageKey: any, xhr: any) => any;
timeSeriesIdProperties: Array<{
name: string;
type: any;
}>;
stringsInstance: Strings;
private getInterpolationFunction;
setOptions(chartOptionsObj: any): void;
private mergeStrings;
private mergeValue;
toObject(): {
grid: boolean;
preserveAvailabilityState: boolean;
persistDateTimeButtonRange: boolean;
isCompact: boolean;
keepBrush: boolean;
isArea: boolean;
noAnimate: boolean;
minutesForTimeLabels: boolean;
aggTopMargin: number;
color: string;
maxBuckets: number;
yAxisHidden: boolean;
focusHidden: boolean;
singleLineXAxisLabel: boolean;
legend: string;
tooltip: boolean;
throttleSlider: boolean;
snapBrush: boolean;
minBrushWidth: number;
theme: string;
keepSplitByColor: boolean;
brushContextMenuActions: any[];
timeFrame: any;
fromChart: boolean;
timestamp: any;
stacked: boolean;
scaledToCurrentTime: boolean;
zeroYAxis: boolean;
arcWidthRatio: number;
brushClearable: boolean;
brushMoveAction: any;
yAxisState: string;
xAxisHidden: boolean;
suppressResizeListener: boolean;
brushMoveEndAction: any;
onMouseout: () => void;
onMouseover: (aggKey: string, splitBy: string) => void;
onSticky: (aggKey: string, splitBy: string) => void;
onUnsticky: (aggKey: string, splitBy: string) => void;
onKeydown: (d3Event: any, awesompleteObject: any) => void;
onInput: (searchText: string, event: any) => void;
brushHandlesVisible: boolean;
hideChartControlPanel: boolean;
offset: any;
is24HourTime: () => boolean;
includeTimezones: boolean;
availabilityLeftMargin: number;
onInstanceClick: (instance: any) => any;
interpolationFunction: any;
includeEnvelope: boolean;
canDownload: boolean;
withContextMenu: boolean;
autoTriggerBrushContextMenu: boolean;
includeDots: boolean;
yExtent: any;
ellipsisItems: any[];
markers: any[];
onMarkersChange: (markers: number[]) => any;
xAxisTimeFormat: (d: any, i: any, isFirst: any, isLast: any) => {};
spMeasures: string[];
scatterPlotRadius: number[];
spAxisLabels: string[];
brushRangeVisible: boolean;
strings: any;
dateLocale: string;
defaultAvailabilityZoomRangeMillis: number;
warmStoreRange: string[];
initialValue: any;
bucketSizeMillis: number;
updateInterval: number;
dTPIsModal: boolean;
numberOfColors: number;
defaultColor: any;
isColorValueHidden: boolean;
onClick: (d3Event: any) => void;
onSelect: (value: any) => void;
colors: string[];
swimLaneOptions: {
[key: number]: swimLaneOption;
};
hierarchyOptions: any;
onError: (titleKey: any, messageKey: any, xhr: any) => any;
labelSeriesWithMarker: boolean;
timeSeriesIdProperties: {
name: string;
type: any;
}[];
shouldSticky: boolean;
};
}
export { ChartOptions };