.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

Line chart Category Axis labels not displaying

Posted By:      Posted Date: October 05, 2010    Points: 0   Category :Sql Server

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.



View Complete Post

More Related Resource Links

SSRS 2008 r2 line chart primary and secondary category axis


I want to plot series in a line Graph on UTC time which has to be placed on Primary category axis. The secondary category axis should just display the correspoding PST time(No series need to be plotted on this). Is there a way to achive this?

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..


Chart Control 3.5 - X-axis Labels

I have a fairly basic line graph which is bound to a SQLDataSource control.  The graph displays perfectly, but I want the labels on the X-axis to display vertically rather than horizontally.I have used the following code to try and do this but it is having no effect:<AxisX Title="Patient Safety Submissions" IsLabelAutoFit="True">    <LabelStyle Angle="90" interval="1" /></AxisX>Can anyone help?Here is the complete code for my chart:<asp:Chart ID="chrtHHcompliance" runat="server" DataSourceID="sqlHHcompliance" Width="1000px">                    <Titles>                        <asp:Title Font="Microsoft Sans Serif, 12pt, style=Bold, Underline"                                    Name="Title1" Text="Hand Hygiene Weekly Percentage Compliance">                 &nbs

dynamic min value in y-axis for line chart

How to set dynamic min value in y-axis for line chart in ssrs 2005 give me examples Table Test rid Percentage Reason1 98 Reason2 89 Reason3 87 Reason4 82 Reason5 91 Reason6 96 example: y-axis should start 80(if it is 70 it should start 70) by dynamically

How to redisplay a category-axis on a column chart after it has been deleted.


Hi All,

This should be simple, but I'm tearing my (limited) hair out trying to solve this.  I have a combined column chart (primary Y axis) and line chart (secondary Y axis) in which the category-axis (X-Axis) was deleted.  Now I want the X-Axis to re-appear.  I can't seem to find an option for re-applying the X-Axis after it has been deleted.

How do I do this?




mschart line chart x- labels

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?


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.


MS Chart Control ( Does not display all labels in X Axis - Column Chart )



I am facing one problem while using MS Chart Control.. In Column Chart When i am finding minimum no of records chart displays properly.

But When i finding more than 20 records, in X Axis records display randomly(i have 20 records, chart is coming but x axis labels does not appear for all 20.it display 4 or 5 lables only) .. I increased the chart size also. Still it is happeing...

Any one give me idea about to fix this problem..

Thanks in Advance.

3-D column chart - Y - Axis Labels -Instead of Legend



I am having a 3d Column chart in my report but I am not able to show the Labels on the right hand side. as for right hand side it shows only LEGENDs ,not Labels property.

Please have a look at the chart in this like


In this  example

I am able to show the sales figures (Z-axis) and promotion type (X-axis),

but not able to show the date shown in  (Y-axis)

I don't know how to set the labels for Y-axis in this kind of chart.I dont want to show legend as its of no use same color is coming for all Years.

Any help on this.



Missing labels in chart bar the X axis


Hi All

I have a report with a bar chart. Within each category of the bar chart I have 3 bars that are compared with each other.

The problem is that not all the categories labels are shown, even though there is enough free space on the axis (the font is very small).

Can I configure the chart thus all the values will apear?

Thank you.



Need help to display the axis dynamically in Line chart



I created one date hierarchy like year-->quarter-->Month and i'm creating one parameter YeartoMonth (year i'm using date hierarchy)

i want create one line chart with hierarchy axis it means

when i select any value from yeartomonth filter i want display those valus in axis of the line chart

like if i select Q1 , Q2,Q3 from 2010

i want to display the Q1,Q2,Q3 as the axis for that line chart

it means i want pass those values dynamically based on filter selection

Please can you help me to solve this issue

Thanks in advance...

Chart X axis is in Time



My application work in this ways. I got a database collect data from 20 sensors. Database holds Temperature and DateTime data/Records from sensors. So i would like to make it whenever i view the chart, it will plot a line chart one by one according to the temperature and timestamp(DateTime). Which mean my X axis is a colleborate time on that particular date. Anyone did this before or advice ? Thanks.

I already design a in the way that the line chart will plot base on both dropdownlist, Sensor ID and Date. So it will work like whenever i select a Date or ID it will read the records from database table temperature.

Dual values in Column chart Y axis in SSRS 2008

Hi,  Any one pls tell me how to show dual values in Column chart Y axis. Example: Im showing Total Number of clients in the Y axis of column chart My Requirement is In that Y axis column chart also  i want to show differently of Inactive clients from total number of clients. how to do this pls help me. Thanks in advance. TotalnumberOf clients :  1000 InActive Clients : 200 among TotalnumberofClients      

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

Display name of months on x-axis in a chart

Could you please let me know if there is any expression which can be used to display the months on x-axis of the column chart. I've tried playing with the Axis option trying to change the interval type to "months" but it is not giving the result. Thank you.

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
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend