Databases Reference
In-Depth Information
Figure 2-61. Result of adding an Axis marker manually to the chart in APEX
This example shows how you can customize the XML of a chart to add features that APEX doesn't
allow by using the wizard or chart attributes. It's useful to read the AnyChart documentation and review
the XML Reference to know what is possible. The principle is always the same: once you know what XML
to include, you change the XML by setting Use Custom XML to yes in the Chart Attributes and, presto,
you extend your chart!
Customizing Charts by Using Custom XML, Dynamic Actions,
and JavaScript
Customizing the XML is one way to get more out of charts, but sometimes even that is not enough and
you need to take an extra step. To illustrate this we will look at the use case where the manager of the
previous example now wants to see which employees brought in a lot of sales, who performed well, and
who did not. She could just look at the chart and do the math in her head, but giving colors to the
columns (Good = green, Normal = yellow, Bad = red) would make the job easier (Figure 2-62). It would
mean we define thresholds, sales numbers below a certain number (red), between numbers (yellow) and
over a certain number (green).
Search WWH ::




Custom Search