You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
info: "In order to display a map, we need to import additional ZingChart modules containing the mapping code and specific map data. In this example we also use React state for the configuration (although we're not changing the state).",
32
29
file: "ModuleChart.js",
33
-
code: "",
34
30
},
35
31
"/module_drag": {
36
32
label: "Interaction",
37
33
text: "Demonstrates interacting with a chart to change data",
38
-
info: "Here we obtain a React reference to the ZingChart instance and load the dragging module so we can interact with the data in a bar chart. When a drag operation completes we access the chart data and use it to update the 'Goals met' text above the chart.",
39
34
file: "ModuleDrag.js",
40
-
code: "",
41
35
},
42
36
"/dynamic": {
43
37
label: "Reconfiguring",
44
38
text: "Demonstrates modifying the configuration of an existing chart",
45
-
info: "In this example we create an interval timer to periodically update the state object containing the ZingChart's configuration in order to change the data being displayed.",
46
39
file: "Dynamic.js",
47
-
code: "",
48
40
},
49
41
"/events": {
50
42
label: "Events",
51
43
text: "Demonstrates responding to chart events",
52
-
info: "This demo shows how we can listen to ZingChart events and log the events to a text area elsewhere on the page. Point to one of the nodes on the plot to see its details appear in the log.",
53
44
file: "Events.js",
54
-
code: "",
55
45
},
56
46
"/methods": {
57
47
label: "Methods",
58
48
text: "Demonstrates using a reference to a ZingChart element to invoke methods on it",
59
-
info: "Here we obtain a React reference to the chart and use it to invoke a method (in this case, adding an additional dataset).",
60
49
file: "Methods.js",
61
-
code: "",
62
50
},
63
51
"/license": {
64
52
label: "Multiple Plots",
65
53
text: "Demonstrates setting the license key and performance flags on the ZingChart object, as well as multiple plots",
66
-
info: "In this demo we obtain the zingchart instance when we import zingchart/es6 so we can set some configuration options on it, such as the license key. This demo also shows multiple plots on one chart.",
0 commit comments