ASP.NET Charting control - How to display Y values when no point data is specified?
Posted
by James
on Stack Overflow
See other posts from Stack Overflow
or by James
Published on 2009-12-21T17:30:14Z
Indexed on
2010/03/19
1:01 UTC
Read the original article
Hit count: 430
I have an ASP.NET chart of which the Y value is calculated based on the highest Y value point. The issue I have is if there are no Y points which exceed 0 then I can't get any labels to display.
Here is a good day example:
Some Name | 23
Some Name | 45
Some Name | 3
--------------
0% 25% 50%
Here is what I am getting if NO Y values are greater than 0
Some Name |
Some Name |
Some Name |
--------------
What I need is for it to display:
Some Name |0
Some Name |0
Some Name |0
--------------
0% 100%
Any ideas?
© Stack Overflow or respective owner