I am trying to add multiple X-axis categories to an SSRS 2008 line chart, but by default it is adding these brackets to each additional category. Is there a way to remove these brackets? I am trying to display about 50 data points and it the brackets are causing the data in the categories to be cut off/squished/un-readable. Or if there is a better way of displaying multiple x-axis data. Any help is greatly appreciated! Thanks.
Brackets in question:
http://i44.photobucket.com/albums/f39/sethmo38/SSRSLineChart3_zps348f76b8.jpg
You should be able to just click on the axis X or Y till you see a selected block outline and then click 'delete' on your keyboard and it is removed. If you want to perform operations outside the norm but keep some of the options click properties instead.
The default is pane is Axis Options and you can change 'Category' to 'Scalar' if you want numbers. You set expressions instead of the auto here if you want. If you don't want that but want a custom labeling go to the pane 'Labels' instead. You can hide the labels all together or choose an expression to determine when they are hidden. You may wish to mess with the major and minor tick marks as well. When you want to highly customize an axis you may wish to mess with hiding some of the major marks and potentially turn off the 'Category' axis type and set everything manually. Sorry I can't see your picture at work to be more understanding of your situation so forgive me if I missed something.
Related
I'm sure I'm missing something obvious but it has so far eluded me.
My current report:
I have a dataset of employees' absences at my company.
It is essentially broken down by department, date and time lost.
I have charted this as below:
The manager is shown their own departments dynamically using a filter on the series group.
By using a report level filter I can cache the dataset overnight for all departments.
My preferred report:
In order to give some context to the data I would really like to add another line showing the same data for the whole organisation.
This data is already captured and I can add that "department" for all users so they get a graph as below (new line in blue with square markers):
The trouble is that I want the extra line to appear completely differently to the existing lines
I don't want the extra line to have markers necessarily
I don't want the extra line to appear in the same legend
I don't want the extra line to have an action (i.e. be clickable)
In my perfect world, there wouldn't even be a line, just a change in background colour above and below where the line would be. I haven't been able to find a pretty example of what I am talking about so instead I have produced this hideous travesty in ms paint:
Any help gratefully received!
Can change all of that information/treatment by modifying the series.
Firstly change the Chart Type of the series to Area
Which gives you something like....
All other settings you mention can be done in the series properties
eg
Right Click Series, Select Properties, Legend, Check the box marked
[Do not show this series in the legend]
Set the Action (in series properties) to None
Set the markers as you want
I have achieved partial success using the StripLines property for the Y Axis:
Screenshot of setting:
I added a Member then changed the BackgroundColor and StripWidth.
The StripWidth determines the height of the shaded area and can be an expression.
can horizontal striplines on a column chart render on top of the data? My chart is rendering like this;
but I want the stripLine to be visible over the top of the data columns not below it. I am able to put the dataPoint text that you can see on top, even though i'd rather it be able to render to the right of the bar, but that doesn't seem to be possible either. any help would be great. Seems like some of these things would be pretty straight forward functionality for such a dynamic report builder but im also a layman.
Striplines are always in the background.
I would add a new Series to the Chart, and change the Chart Type to Line. For the value I would point at a Goal column in the datasource. If none is available you can use an expression or hard-code the value.
The sequence of the series controls which is infront of the other. You can drag the series around to reorder them.
My suggestion would be to increase the transparency of the color of the columns. click on chart, click on custom palette color in Properties on the right hand-side and specify level of transparency in the color's options.
P.S. I had the same issue and that's how I solved it.
Contrary to what I am reading here, it is possible to have the stripe lines on the front as well. However, you will need to create another Series specify the top and bottom value dynamically, and adjust the PointWidth to lets say 0.8 or something along those lines.
Alternatively, you can add in a bar graph with a line graph, that should do it as well.
I have a barchart which is oriented horizontally. Usually it is ok but if
there are too many items, then it gets all cramped up. So I need to set a
cut off point of say 10 items, after which the remainder will be put on a
new page. Here is an image of the chart....
What I have done so far is to add a List control and specify the Grouping as
=Floor((RowNumber(Nothing)-1)/10)
but it appears that some data is missing as the Dataset returns many rows for
an item and uses Average and other functions to create the items.
There is also a PageBreak property for the chart element and it has a 'BreakLocation'
one selection of which is 'Between', but it doesn't seem to do anything, as there
is no where to specify 'between what' it would make the pagebreak.
Any ideas. I have searched the web and found only 2 references to this, one which
uses the List Item grouping and another which references some sample code from a book
which uses an old version of Visual studio.
Drag a List control on the page, click on it and go to Tablix properties and set it to the same dataset as the chart. Then go to the grouping section and choose 'Group Properties', I added this under 'Row Groups' Click Add under 'Group expressions' and use an expression to group...like =Ceiling(RowNumber(Nothing)/10)
In an auto-generated chart based on a query (I dragged the chart object onto a blank form to start it), the chart itself is displaying and updating properly, datawise, but I want to change the Legend from reading "SumOfAvgOfield1" and "SumOfAvgOfield2" to regular words suitable for final presentations. But I can't find a way to change it!
I realize this is a late answer, but I was just having a similar issue and figured someone else might benefit from knowing how to get rid of the 'SumOf' labels.
In design view, right click on the chart and select 'Properties'.
Choose the Data tab.
The 'Row Source' field is the one you're going to be interested.
In there you can see various places where it's labeling your data:
Sum() AS [SumOfData]
Just edit the text right in the properties window and you'll be set.
This is WAY late, but here's what I found (Yes we still use office 2007)
Open the form in PivotTable View. Open Property Sheet. Highlight the column you want to change the Legend Caption for. Choose the Captions Tab in the properties window. There you can change the captions for each column.
Had 4 charts on a form. 3 would let me edit the Heading of the Chart, the 4th would not. Read a lot of posts that did not pertain. Noticed the datasheet for the 4th chart was completely empty.
SOLUTION: Clicked on chart until the datasheet appeared. Added mock field headings and mock data to datasheet. I could then click on chart and edit the chart's Heading. You can also highlight and change the color of selected words in the chart's Heading. Very Nice!
Good luck,
Vancer
The SumofAverageOfFiled1, etc is automatically generated. Even if you edit it in the datasheet, it changes back (or at least that is my experience). What I did to get around this is add a Rectangle and fill it with white and size it to cover up the "Sumof" captions. You can Bring to Front the Rectangle. Then you can add text boxes to label the chart's bars to read the way you want them. Drag them over the Rectange and Bring to Front.
Hope this helps.
Everywhere I looked it said just change the Pivot Table to change the Legend Entry.
Well, let me tell you.
First, if you have no Pivot Table that you can see do the following:
go to design view and select the form
right click and hit Properties. Scroll through till you see AllowPivotTableView and select yes.
Now you can go and change the column headers!
This could help
Select xxxxx, yyyyy from zzzz
Chart0.ChartSeriesCollection(0).DisplayName = ![XXXXX]
Chart0.ChartSeriesCollection(1).DisplayName = ![YYYYY]
Was very difficult to me to find a way to do it.
I have created a chart using a stored procedure which lists totals by name.
However when I create the chart the names only appear for every second element. I have tested this in a table and I get each name correctly.
My first thoughts were that it was a sizing issue, so I considerably increased the size of my chart, but this doesn't make a difference.
Does anyone know what could be causing the problem?
[URL=http://img11.imageshack.us/i/rschart.jpg/][IMG]http://img11.imageshack.us/img11/7191/rschart.
That "VariableAutoInterval" did not work for me, it showed every alternate other label. However the following worked:
In the Axis Properties -> Interval, type 1 : This will show every label. If you type 2, it will show every alternate label and so on.
http://img223.imageshack.us/img223/3118/capturerk.png
Reference : msdn.microsoft.com/en-us/library/bb934393.aspx
I have found the problem. If you go to the properties of the X-Axis in your chart and go to >Interval > VariableAutoInterval and by default this is set to false. Set this to true and it now works.
However there is a problem with formatting as although the labels appear they are displayed slighter off centre of the actual bar elements... this should easily be fixed though.
Thanks for your help!
[URL=http://img230.imageshack.us/i/rschart2.jpg/][IMG]http://img230.imageshack.us/img230/3958/rsc
Ahh you have run into the notorious RS bug that most everyone doesn't notice. No solution to this, however what you can do to display ALL x axis labels is to shorten the categories (or x-axis values to 3-4 letters a piece and display a key).
What I mean about this is in your SQL table of categories add a field called Acronym or something an for a category such as :
SQL SERVER CATEGORY I
In the acronym field make it
SSCI
And in your report instead of using the category field use a much shorter value (the SSCI value). Now next to your report object just create a matrix / table object that displays categories with their acronyms. You do realize that you can use multiple objects in one report that may point to different data sets.
Doing this will display all the X-Axis values, it is all because of the lengths of the categories...
Seems to be working for me. Can you try to export the report to pdf / excel and check the results. Also I am using RS 2005, are you using 2008?