source: node_modules/recharts/lib/zIndex/DefaultZIndexes.js@ ba17441

Last change on this file since ba17441 was a762898, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Added visualizations

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[a762898]1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.DefaultZIndexes = void 0;
7/**
8 * A collection of all default zIndex values used by Recharts.
9 *
10 * You can reuse these, or you can define your own.
11 */
12var DefaultZIndexes = exports.DefaultZIndexes = {
13 /**
14 * CartesianGrid and PolarGrid
15 */
16 grid: -100,
17 /**
18 * Background of Bar and RadialBar.
19 * This is not visible by default but can be enabled by setting background={true} on Bar or RadialBar.
20 */
21 barBackground: -50,
22 /*
23 * other chart elements or custom elements without specific zIndex
24 * render in here, at zIndex 0
25 */
26
27 /**
28 * Area, Pie, Radar, and ReferenceArea
29 */
30 area: 100,
31 /**
32 * Cursor is embedded inside Tooltip and controlled by it.
33 * The Tooltip itself has a separate portal and is not included in the zIndex system;
34 * Cursor is the decoration inside the chart area. CursorRectangle is a rectangle box.
35 * It renders below bar so that in a stacked bar chart the cursor rectangle does not hide the other bars.
36 */
37 cursorRectangle: 200,
38 /**
39 * Bar and RadialBar
40 */
41 bar: 300,
42 /**
43 * Line and ReferenceLine, and ErrorBor
44 */
45 line: 400,
46 /**
47 * XAxis and YAxis and PolarAngleAxis and PolarRadiusAxis ticks and lines and children
48 */
49 axis: 500,
50 /**
51 * Scatter and ReferenceDot,
52 * and Dots of Line and Area and Radar if they have dot=true
53 */
54 scatter: 600,
55 /**
56 * Hovering over a Bar or RadialBar renders a highlight rectangle
57 */
58 activeBar: 1000,
59 /**
60 * Cursor is embedded inside Tooltip and controlled by it.
61 * The Tooltip itself has a separate portal and is not included in the zIndex system;
62 * Cursor is the decoration inside the chart area, usually a cross or a box.
63 * CursorLine is a line cursor rendered in Line, Area, Scatter, Radar charts.
64 * It renders above the Line and Scatter so that it is always visible.
65 * It renders below active dot so that the dot is always visible and shows the current point.
66 * We're also assuming that the active dot is small enough that it does not fully cover the cursor line.
67 *
68 * This also applies to the radial cursor in RadialBarChart.
69 */
70 cursorLine: 1100,
71 /**
72 * Hovering over a Point in Line, Area, Scatter, Radar renders a highlight dot
73 */
74 activeDot: 1200,
75 /**
76 * LabelList and Label, including Axis labels
77 */
78 label: 2000
79};
Note: See TracBrowser for help on using the repository browser.