UNPKG

recharts

Version:
14 lines (13 loc) 688 B
export declare const COLOR_PANEL: string[]; /** * We use this attribute to identify which element is the one that the user is touching. * The index is the position of the element in the data array. * This can be either a number (for array-based charts) or a string (for the charts that have a matrix-shaped data). */ export declare const DATA_ITEM_INDEX_ATTRIBUTE_NAME = "data-recharts-item-index"; /** * We use this attribute to identify which element is the one that the user is touching. * Unlike dataKey, or name, it is always unique. */ export declare const DATA_ITEM_GRAPHICAL_ITEM_ID_ATTRIBUTE_NAME = "data-recharts-item-id"; export declare const DEFAULT_Y_AXIS_WIDTH = 60;