Hi,
I created an application based on the drilling example (JET Site Cookbook ).
In the application I build you can drill down four layers (year, quarter, month, week)
In the drilling example there is a button where you can drill up.
This is the code of the "drill up" button:
self.drillUpButtonClick = function(data, event) {
self.BarSeriesValue(barYearSeries);
self.BarGroupsValue(barYearGroups);
self.drillingValue("groupsOnly");
$("#drillUpButton").ojButton("option", "disabled", true);
return true;
}
I found there is a method in the oj.chart Class "getXAxis() . In this method there is the property title.
When I know the title I can set the correct Series and Groups for the chart.
But how can I use the method in code of the button?
Kind regards,
Herman