PDA

View Full Version : Changing the Axis title, when Legend is changed



jgate
12 Jun 2012, 12:50 PM
Hi - I have a question. After I render an extjs chart, customer click on the legend to show/hide different chart data.

When I press the legend, is there a way, I also can change the "title" of the axis.

For eg, when the chart is loaded, I show Date, Click, Views as the legend item. And on the left axis, I have "Date/Click/Views" as the title. Now, when I click "Date" legend (i.e., to disable it), I want the left axis to change to "Click/Views".

Do let me know how I can make this happen.

Thanks,