| Page 1 of 1 | [ 2 posts ] |
|
I am using BarChart of YUI 2.8. My data source covers a wide range of values, which is from 2 to 4000. For example, Number of access from server 1: 3; Number of access from server 2: 3900 ...
In the bar chart, there's no bar showing up for a small value, such as 5. Because the maximum value showing in the chart is 3900. Is there any way to show a bar for the small value? even a very short bar. Thanks, |
|
The calculated size of the bar is smaller than the chart can render. If you don't have the option of setting a maximum or displaying a larger chart, I don't know of any clean solution. The only workaround that I can think of is to update your datasource to force a value large enough to show, store the actual values in a separate array and write a dataTip function that displays the proper value on mouseover.
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