.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

mschart line chart x- labels

Posted By:      Posted Date: October 02, 2010    Points: 0   Category :ASP.Net
How do I force mschart to display all X- labels? Let's say we have 10
grid in X-, mschart only displays 5 of them. Even I specified the
Chart1.ChartAreas[0].AxisX.LabelStyle.Angle = -90; and specified chart
width to a large number, the mschart still didn't display all labels.

Any ideas?


View Complete Post

More Related Resource Links

Line chart Category Axis labels not displaying


I've got a few series of data (counts) that I've summed by month and year. So, the data looks like 

Value 'June 2010' 'July 2010', ....

Open       3                5  ...

Closed     6                10....


I've got a line chart of this data. The issue I have is on the category axis, I have the months as the value. However, only a couple of the 12 months are being displayed. The chart is populating properly, but I want every month to list out on the category axis. How can I do this, since my category type is a string? What should I set the interval, etc. to? This seems pretty basic, so I must be missing something simple.



SSRS 2008 R2 - Line chart labels - visibility based on expression?


I would like to control the visibility of a data label in a line chart using an expression. For example, I have a requirement to show the data label for two compariable data points in a line chart where the horizontal axis is time (Q1, Q2, Q3, etc...) and the data points are determined based on a selected parameter. The basic idea is that a user can select to view Q3 as the end point of reporting and the chart will graph a complete time line (e.g. FY 2001 thru FYXX Q3) but only show the label for Q3 and prior year Q3.

I have tried to build an expression in the visibility property of 'Chart Series Labels' but this does not appear to work.


crystal report -visual studio 2008 dual axis chart (bar & line)


dear all, 

i use crystal report integrated with  vs.2008, and i want to make chart with dual axis (bar & line).

i have used bar chart and input the data with 2 values..

then in chart options > template, i activated the dual axis..

my question is, how i can change the 2nd value with line chart not bar chart??

i'd tried to find the right settings in "chart options" but still can't find the solution.

for information in "chart options" there are 4 sub menu : template, general,titles,grid..

i read in a tutorial there's more sub menu called "series" in crystal report (stand alone version)..

is it possible doing it in Crystal Report VS. 2008?

please,, i need your advice and solution..

Thanx before..


Line Divider i n Column chart in SSRS 2008

Hi,  Any one pls tel me how to do the single line divider in Column chart in SSRS 2008 example: --------- |               | |     20      | ---------- |       100 | |               | -------------------------------   i want to show the above example. Thanks in advance Regards, Abdul2010

Pie chart - overlapping labels?

I have a pie chart that has overlapping labels. I want the labels to display text plus the value, which I have working. However, not all of the labels are outside of the pie chart area, and thus are overlapping. Also, how can I set the pie chart to take up more room within the chart itself?   Here's a URL to see my chart:  http://i34.tinypic.com/23kt0sw.jpg

Hide background horizontal line in Chart

Hello, I am using SSRS 2008.  I have a simple question which i hope someone might be able to help me with. I have a series chart The chart area has horizontal lines for which i see no option to hide or remove before report rendering.  Is there a way to control this so that my chart can have a blank background look.   Regards

stack chart line at 0 value

i have stacked chart  i want only grid line at 0 value all other grid lines should be visible false how can i do that 

set the proerty from code behind line chart wpf

< Style x:Key = " InvisibleDataPointStyle " TargetType = " c:LineDataPoint " > < Setter Property = " Opacity " Value = " 0 " /> < Setter Property = " Background " Value = " Yellow " /> </ Style >

Regarding WPF Line Series Chart how to set this