Features, discussions, tips, tricks, questions, problems and feedback

How to use certain Chart control functionality via scripting

How to use certain Chart control functionality via scripting

We have created the following sample graphic forms in Adroit 8.2. to illustrate how to use certain Chart control functionality via scripting namely:

• TimeDetails.viz - Changing the start and end date time of a line chart via script

• Segments.viz - Adding and deleting segments (with a specific value, label and color) to bar chart, column chart and pie chart via script

• MouseEvents.viz - Capture mouse clicks on segments or points of a bar chart or column chart and report back which segment or point was clicked on and its value.

All the sample graphic forms can be downloaded from: ChartScriptingExamples.zip (38.8 KB)