@carbon/charts
Version:
Carbon charting components
36 lines (35 loc) • 1.14 kB
TypeScript
export declare const addControls: (container: any, chart: any) => void;
export declare const addRadioButtonEventListeners: (container: any, chart: any) => void;
/**
* Generates random data going backwards from now once a minute
* @param {number} quantity number of data points to create
* @param {number} min min range of integer value
* @param {number} max max range of integer value
* @returns {array} randomly generated array of objects with a date and value field
*/
export declare const generateRandomData: {
(quantity: any, min: any, max: any): {
group: string;
value: number;
date: Date;
}[];
displayName: string;
__docgenInfo: {
"description": string;
"displayName": string;
"props": {};
};
};
/**
* Adds a generate demo data form to the story
*/
export declare const generateHighScaleDemoDataForm: {
(): string;
displayName: string;
__docgenInfo: {
"description": string;
"displayName": string;
"props": {};
};
};
export declare const addDemoDataFormListeners: (container: any, demo: any, chart: any) => void;