Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | 22x 22x | import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
import {
IChartProps,
IRefArrayData,
IBasestate,
ILineChartDataPoint,
ILineChartPoints,
ICustomizedCalloutData,
IMargins,
} from '../../types/index';
import {
ICartesianChartStyles,
ICartesianChartStyleProps,
ICartesianChartProps,
IChildProps,
} from '../CommonComponents/CartesianChart.types';
export type { IChildProps, IRefArrayData, IBasestate, ILineChartDataPoint, ILineChartPoints, IMargins };
/**
* Area Chart properties.
* {@docCategory AreaChart}
*/
export interface IAreaChartProps extends ICartesianChartProps {
/**
* Data to render in the chart.
*/
data: IChartProps;
/**
* This prop is used to draw Y axis grid lines on the chart. Default value will be false
* @deprecated now lines are shown by default
* no need to use this prop
*/
showYAxisGridLines?: boolean;
/**
* Call to provide customized styling that will layer on top of the variant rules.
*/
styles?: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;
/**
* Define a custom callout renderer for a data point
*/
onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;
/**
* Define a custom callout renderer for a stack; default is to render per data point
*/
onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;
/**
* The prop used to define the culture to localized the numbers
*/
culture?: string;
/**
* @default false
* The prop used to enable the perf optimization
*/
enablePerfOptimization?: boolean;
/*
* Optimize area chart rendering for large data set.
*/
optimizeLargeData?: boolean;
/**
* @default false
* The prop used to enable gradient fill color for the chart.
*/
enableGradient?: boolean;
}
/**
* Area Chart styles
* {@docCategory AreaChart}
*/
export interface IAreaChartStyles extends ICartesianChartStyles {}
/**
* Area Chart style properties
* {@docCategory AreaChart}
*/
export interface IAreaChartStyleProps extends ICartesianChartStyleProps {}
|