Solved

ASP Charts - Labels missing from X axis.

Posted on 2011-03-22
4
534 Views
Last Modified: 2012-05-11
I've constructed a column chart with park names on the horizontal axis and expenditures on the vertical axis.  Out of 20 parks, only 4 park labels appear on the x axis.  What do I do to make all park labels appear?
Missing-Labels.png
0
Comment
Question by:jdana
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Rikin Shah earned 250 total points
ID: 35191469
<ChartAreas>
        <asp:ChartArea>
            <AxisX Interval="1">
            </AxisX>
        </asp:ChartArea>
    </ChartAreas>

Open in new window

0
 
LVL 19

Assisted Solution

by:Rikin Shah
Rikin Shah earned 250 total points
ID: 35191518
whatever axis is there AxisX/AxisY you can set the interval. Above code will set label for each point.

is this what you wanted?
0
 

Author Comment

by:jdana
ID: 35191540
Perfect!
Fixed-Labels.png
0
 

Author Closing Comment

by:jdana
ID: 35191550
Thanks!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question