| Page 1 of 1 | [ 3 posts ] |
|
When using the TimeAxis to show a marker series using a data set with 1 data point, all major ticks in the x-axis are both the same label repeated AND the single marker doesn't show up.
This actually occurs when all datapoints in the marker series have the same date/time. I have gotten around this issue by using CategoryAxis for the time being, but is there a way to handle this? Thank you, Brett |
|
That's definitely a bug. I can file a ticket and post back with the link. In the interim, the easiest workaround would be to specify a minimum and maximum for your time axis. The code below shows an example of the workaround.
Code: var myDataValues = [ {date:"4/1/2011", expenses:4700} ]; var myAxes = { dateRange:{ type:"time", keys:["date"], minimum: new Date("1/1/2011"), maximum: new Date("12/1/2011") } }; var myChart = new Y.Chart({ categoryKey: "date", dataProvider:myDataValues, axes:myAxes, render:"#mychart" }); Thanks, Tripp |
|
A ticket has been filed for this issue:
http://yuilibrary.com/projects/yui3/ticket/2531134 Thanks, Tripp |
| Page 1 of 1 | [ 3 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