Adding Controls to Charts
Sometimes, it can be useful to change settings directly from the browser at runtime and then replot the chart with these new settings. A typical way of doing this is to add active controls. These controls make the chart interactive, allowing the user to make choices in real time, such as deciding how the chart should be represented. By inserting controls, you give the user the ability to control the values of the chart's attributes, which you would normally have to set in options.
In this chapter, you will look at introducing controls within your web page. You will also consider the factors that lead to the ...