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
/// The z-order of the chart's background.
pub const Z_BACKGROUND: i32 = 0;
/// The z-order of the chart's grid.
pub const Z_GRID: i32 = 10;
/// The z-order of the chart's axes.
pub const Z_AXIS: i32 = 20;
/// The z-order the first series is drawn at.
pub const Z_SERIES: i32 = 100;
/// The z-order of the chart's title.
pub const Z_TITLE: i32 = 1000;
/// The z-order of the chart's legend.
pub const Z_LEGEND: i32 = 1010;
/// The z-order of the chart's tooltip.
pub const Z_TOOLTIP: i32 = 2000;
/// The radius of the circle a custom series draws, in pixels.
pub const DEFAULT_CUSTOM_RADIUS: f64 = 10.0;
/// The key of a data item's name.
pub const SERIES_DATA_NAME_KEY: &str = "name";
/// The key of a data item's value.
pub const SERIES_DATA_VALUE_KEY: &str = "value";
/// The key of a graph link's source node.
pub const SERIES_DATA_SOURCE_KEY: &str = "source";
/// The key of a graph link's target node.
pub const SERIES_DATA_TARGET_KEY: &str = "target";
/// The key of a hierarchy node's children.
pub const SERIES_DATA_CHILDREN_KEY: &str = "children";
/// The name of the rectangular shape of a custom series.
pub const CUSTOM_SHAPE_RECT: &str = "rect";
/// The name of the rectangular symbol.
pub const SYMBOL_RECT: &str = "rect";