on 03-28-2007 8:42 PM
I would like to place two charts on the same web page. One above the other. The top chart will have the time refresh control on it while the other should be controlled by the first chart. I have recently taken two charts and controlled each of them by using an iBrowser. How do I get the time features to sync up with the other chart?
In chart #2, turn off the "Show Time Control" checkbox in the display template.
In the update event from chart 1, set the startdate/enddate of chart 2 to the startdate/enddate of chart 1, and call the updateChart(true) method of chart 2.
Pseudocode (might be a few typos):
chart2.getQueryTemplate().setStartDate(chart1.getQueryTemplate().getStartDate());
chart2.getQueryTemplate().setEndDate(chart1.getQueryTemplate().getEndDate());
chart2.updateChart(true);
Best regards,
Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.