| Page 1 of 1 | [ 2 posts ] |
|
Hi,
I have a time based chart with 6-7 series with each series containing around 700 points. showMarkers is set to false so that the chart renders fairly quickly. Within the data there are events logged and I was wondering if there is a way of showing these events (There aren't many, usually around 10 events) on my chart. I thought about creating a series with markers with custom tooltips for these events but there doesn't seem to be a way of having one series with markers and the rest without. I've currently created a separate chart below the main chart with a series that shows the events. But the x axis doesn't line up as the first and last events never have the same time as the first and last points of the main chart. Any help appreciated, Martin. |
|
You can control the showMarkers attribute at the series level (for combo series) as well. Add a seriesCollection attribute to you chart.
Code: var mychart = new Y.Chart({ dataProvider:myDataValues, render:"#mychart", seriesCollection: [ { yKey: "miscellaneous", showMarkers: false }, { yKey: "expenses", showMarkers: true }, { yKey: "revenue", showMarkers: false } ] }); Thanks, Tripp |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group