SSRS 2008 Line Chart Issue.
We are facing an issue with SSRS 2008 charts. We have a report which shows dynamic number of series on a line chart. The data values may not exist for all series for
the same x axis points. We expected SSRS to connect the missing points as average and have set the empty point option to average.
The issue is that the
1)
lines for interpolated points only appear when we set the color of empty point to say red and not when it is set to automatic. We need the interpolated line in the same auto
colour as the original line as we will have markers for the data points from the DB and no markers for empty points.
2)
The interpolated lines extend backwards in the series also – we expect it to only fill the gaps and not extend backward or forward.
Are these issues known and is there a work around for these issues ? We got your name from one of the SSRS community discussions. Could you please connect us with
the right person if you are not the right contact for this issue ?
I also got following reply from one of the MS guy, it says
Hi Akshay,
The lines should not go backward. I have seen this happen before and I’ll have to double-check on what that occurs. If you
are using a Category Axis, make sure you set the sorting to use a Cdate() expression. I think that might be it ,but I’ll have to double check.
As far as using the auto-coloring on the series when you have empty points like this, I don’t think that’s possible. It would require
a DCR. You may need to implement something along the lines described in this article http://msdn.microsoft.com/en-us/library/aa964128(SQL.90).aspx.
When I tried the suggestions I over come the auto colouring issue and also used CDATE () but lines still extend bacawords. Can anyone suggest what to do it this situation
Hi AKshay_Jadhav,
Firstly, I am not sure who is that MS guy you mentioned without the detail name. Based on my understanding to your issue, I think you could utilize the function
IsNothing in reoprting services to have a check whether the value is null, if it is Null, you should give a average value to this point, if not leave it to be the original value. Of course, you could achieve this in T-SQL. To
the color and marker, we could type in the expression in both feature to control their display effort.
Hope this helps.
Thanks,
Challen Fu
Challen Fu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Similar Messages
-
SSRS 2008: Line chart Y-Axis scale issue
Hi All,
After search of one week, finally decided to put my question in front of you all. Hope I will get some outcome from it.
Currently I am working on Line Chart. Following is the data which I need to bind to line chart.
JobStartDate JobStartTime JobEndTime
1/1/2015 01.00 02.30
1/2/2015 01.02 03.20
1/3/2015 01.01 03.40
1/4/2015 01.05 02.00
1/5/2015 22.03 23.30
1/6/2015 22.05 23.40
So, In above scenario Line chart looks like:
11.00 PM | /////////
10.00 PM | ..........
........ |
04.00 AM | /
03.00 AM | / /
02.00 AM | / /
01.00 AM | .....................
12.00 AM |______________________________________________
1/1/15 1/2/15 1/3/15 1/4/15 1/5/15 1/6/15
But it should be like :
04.00 AM | /
03.00 AM | / /
02.00 AM | / /
01.00 AM | .....................
12.00 AM |
11.00 PM |
10.00 PM |
09.00 PM |______________________________________________
1/1/15 1/2/15 1/3/15 1/4/15 1/5/15 1/6/15
(Sorry As cant upload the image. So, Tried to show as above.)
In above figure (.) is StartTime and (/) is EndTime.
You can see that I am facing the problem of Y-Axis scaling.
Hope everyone understand my problem. Please let me know more explanation.Hi Prashant Khadatkar,
As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
need to ask several questions:
What’s the data type of JobStartTime and JobEndTime?
Is the data stored in database the same as you provided?
What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
SSRS 2008 - hide chart lines based on parameter selected
How to control visibility of chart lines based on Params selected by user?
By default, my report display last 3 years worth of data (including current) with Month on the x axis and Counts on the y axis. I have two Boolean parameters:
TwoYrs? T/F
ThreeYrs? T/F
if False is selected for TwoYr and ThreeYr parameters then I want to hide chart lines corresponding to last year and the year before.
What I've tried: Created 3 Series groups with filters. eg. YearSeries1 to return only current year data and applying an expression to display it if params TwoYrs and ThreeYrs = False. and so on for YearSeries2 to return current + last
years data if param TwoYrs is True and ThreeYrs = False. But I don't see where to add expression to control the display of the individual series groups. I am open to any way of doing this, but this seemed most logical.Hi Ok-Hee,
In your Source Query just need to filter the series data based on the Parameters.
I have written sample query below:-
select * from
select 1 monthnumber , 'Jan' MonthName, 2013 year,100 amount
union
select 1 monthnumber , 'Jan' MonthName, 2014 year ,200 amount
union
select 1 monthnumber , 'Jan' MonthName, 2015 year , 300 amount
union
select 2 monthnumber , 'Feb' MonthName, 2013 year, 300 amount
union
select 2 monthnumber , 'Feb' MonthName, 2014 year, 350 amount
union
select 2 monthnumber , 'Feb' MonthName, 2015 year,200 amount
union
select 3 monthnumber , 'Mar' MonthName, 2013 year, 380 amount
union
select 3 monthnumber , 'Mar' MonthName, 2014 year, 100 amount
union
select 3 monthnumber , 'Mar' MonthName, 2015 year, 500 amount
)t
where year in (
select distinct FilterYear from
select case when @TwoYrs=1 then year(getdate())-1 else year(getdate()) end FilterYear
union
select case when @TwoYrs=1 and @ThreeYrs =1 then year(getdate())-2 else year(getdate()) end FilterYear
union
select year(getdate()) FilterYear
) t
I have created one post in my blog , you can check the result.
https://msbitips.wordpress.com/2015/03/12/ssrs-2008-hide-chart-lines-based-on-parameter-selected/
Thanks
Prasad -
Hi,
Problem:
I have an issue of SSRS Line Chart extending backward and forward (same issue discussed in post - http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/3cebd5b2-bb15-4bd1-be16-0daadc613082/)
when Empty point option Value is set Average
I tried sorting on Category Group as suggested by Sean Boon in the URL mentioned above. But, still the issue is not fixed.
I am using SSRS R2.
Thoughts ?Hi,
Problem:
I have an issue of SSRS Line Chart extending backward and forward (same issue discussed in post - http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/3cebd5b2-bb15-4bd1-be16-0daadc613082/)
when Empty point option Value is set Average
I tried sorting on Category Group as suggested by Sean Boon in the URL mentioned above. But, still the issue is not fixed.
I am using SSRS R2.
Thoughts ?
I am running into the same issue again :( -
Hi ,
I have pie chart with value 30 ,10, 10.
My legend showing category wise values but I also want to show Total value 50 in graph .Is it possible .
Akhilesh Sahu Sr.Software DeveloperHi Akhilesh,
If I understand correctly, you want to show total value on the legend. As per my understanding, a legend item is connected to an individual series on the chart in Reporting Services. The chart automatically adds items into the legend base on the series that
are generated from your data. So in your scenario, you want the totals show on the legend, then you need to customize the legend. While in SQL Server Reporting Services, the custom legend is not supported in chart control.
To work around the issue, I suggest that we can delete the original legend and create a custom legend outside the chart area by using a tablix control. In this case, we can show the total on the tablix. For more details, please see the following thread:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cfb4fa19-b2ba-426a-804b-b5ea83d70d62/ssrs-2008-chart-legend-missing-customitems-property
If you have any other question, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Problems getting Excelsius 2008 line chart to integrate into Crystal 2008
I am playing around with integrating excelsius 2008 into Crystal 2008 and I can't and am getting rather frustrated. I have a simple output of the following:
Month % 1st delivery - Actl
1 65.00
2 89.80
3 85.00
4 87.50
5
6 91.90
7 94.80
8
I set up a line chart for 1 series, the series being the month and charting the delivery %. Very simple.
The way I have the xcelsius data manager set up is that my Row Headers go from A2:A13 and the data goes from B2:B13 and my chart is set up to ignore blank cells. I then saved that as an SWF file and pulled that into Crystal. I mapped the Month column into the row label and the % 1st delivery - Actl into the data value. What I get is a chart with just a value of 1 across the bottom and values of 0, 1, 2, 3, 4, 5 and 6 going up the left. Basically, nothing.
Now, if I go back into the Flash Data Binding Expert on the Crystal report, click on my data column, click on the options button and change the summary from sum to count, it seems to work. I get a chart that has 1 - 8 across the bottom and a value of 1 on the chart for months 1 - 4, 6 and 7. Now, if I go into my database and add another row for month 6, the chart now shows 2 for month 6.
So basically, I can't get anything charted on this xcelsius chart exept for a count of my data values. Any ideas? I'm stumped and frustrated and would great appreciate any assistance. Thanks in advance.Hi Joe,
This is a known issue for CR 2008 and was fixed for CR 2008 and MS SQL Server 2008. It was not fixed for SQL Server 2005 using the SQL 2008 native driver as we do not support the MS SQL 2005 native client.
I never tested it against MS SQL 2005 because we did not support the native driver for 2005. It may work using the 2008 native client but you'll have to download Fix Pack 2.7 for CR 2008, requires Service Pack 2 first.
The cause is CR does not recognize the new SQL server native dll so it reverts to a default SQL syntax for that function.
If it does not work, not officially supported, we won't be able to fix it. Options are to upgrade MS SQL server or use ODBC or OLE DB to connect using the MDAC client for MS SQL server 2005.
Thank you
Don -
What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?
I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
single month and year.
I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
resultset on two fields:
Start Date - The date the patient was assigned to the practice. This field is never null or blank.
End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
leaves the practice, the date the patient left is populated in this field.
Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
AND
end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
selected)
Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
Jimmy Doe has a start of 7/3/2012 and an End Date of 9/2/2012
Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
this:
Patient Name
Months Assigned
John Doe
June 2012
John Doe
July012
John Doe
Aug 2012
John Doe
Sept 2012
John Doe
Oct 2012
Sally Doe
Aug 2012
Sally Doe
Sept 2012
Sally Doe
Oct 2012
Sally Doe
Nov 2012
Sally Doe
Dec 2012
Jimmy Doe
July 2012
Jimmy Doe
Aug 2012
Jimmy Doe
Sept 2012
From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
June 2012 - 1
July 2012 – 2
Aug 2012 - 3
Sept 2012 - 3
Oct 2012 - 2
Nov 2012 - 1
Dec 2012 - 1
The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
be the y axis).
Does this sound like the best approach?
If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
I do not have permissions to create SPs or Functions within the database but I can create temp tables.
I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
Any advice or help is greatly appreciated.Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want.
Doing a cross join between my original resultset that had two dates:
08/27/2010
10/24/2011
and a calendar table that has 24 rows (each month for a two year period)
my new resultset looks like this:
I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
the Months Assigned value must be greater than or equal to the date assigned value.
Any advice would be appreciated. -
HFR_ Line chart Issue.
Hi,
We have a Line chart in Fr rpt......There are 12 months in cols(X axis)........and accounts in rows(Y axis)...
We have data from Jan to Aug........In the chart the lines abruptly falls down from Aug and shows data as 0 from aug to dec.....
How can we just show the lines in chart ONLY where there is data.......It should not fall down where there data doesn't exist.Hi
I have always had a similar issue and unfortunately never managed to resolve it. Frustratingly it is not the same in Web Analysis so you would think that Oracle could make such a change but I think unfortunately that they are unlikely to.
I have tried various things, setting to #Missing, #Error and I seem to remember that neither worked. Have you tried suppressing the data columns, can't remember if that did stop the line dropping off but would mean that at times your report may only have 1 or 2 data points.
The last time i tried all this was v11.1.1.3 so let us know how you get on.
Regards
Stuart -
We have a line chart in FR report.
The data in the grid is shown in millions.......the chart gets the data from this grid.
When the FR report is opened in pdf format the chart is coming-up in millions..
but when its opened in html it shows the chart in Unmillions data (-:))..........
The chart display is different in pdf(millions) n html(Unmillions )views
how can we fix itHi
There are lots of issues with FR charting to be honest it is nowhere near as 'complete' as charting in Web Analysis for example. I pushed FR to and in some cases beyond its limits on a project a year or so ago but I don't remember this being an issue.
Its a bit hazy now but I thought the chart took its formatting from the grid or there may be formatting options in the format chart dialog box. We tended to only view only in PDF as we were creating books for expor and email rather than online consumption so I suppose were less likely to see the issue.
Regards
Stuart -
SSRS 2008 Header height issues due to merged columns
When working on a report today we ran into an issue which took us quite some testing to figure out. At some point we decided to switch some of the headers of columns around and when rendering the report again it for some reason created a header which was
way heigher then the biggest text there, showing a huge empty space in the header underneath the text.
My first guess was that there had to be some extra spaces in some column or something alike, which made the cells grow so much. This however was not the case. As a next step I cleared the cells in the headerrow one by one to figure out which field was making
the header grow this much. It turned out to be the header in the 10th column. When I replaced the text in this cell, it did not make the header grow anymore. When I put the original text back, it started growing again. As a next step I removed the text in
this cell, pasted it in another cell (column 11) and rendered the report, with the same huge header again. Out of frustration I tried a desperate last move, copied it to column 1 and rendered the report, the effect was a small header without some weird height.
So the conclusion was that this text was making the header grow hugely in the columns 10 and 11, but not in column 1? What is the difference between column 10/11 and column 1?
Then I noticed that column 7, 8 and 9 were pretty small columns, only holding integer values. The header above this, however, was one word, so the 3 cells in the header for these columns were MERGED. So basicly, only looking at the cells in the header, my
huge text was in the 8th cell from the left, not the 10th (10th column, but due to merging the 8th cell). As a test I editted the width of the 8th column (the middle one of the merged cells) to be as wide as all the other columns holding text. The rendering
of the report, with the huge text in the original headercolumn, now did not grow my header to be extremely big. This combined with the way "hiding" works in SSRS 2008 oppose to SSRS 2005 (ie, in 2008 a hidden cell disappears completly, moving all next cells
up to the left, where as in 2005 a hidden cell just shows as empty in the report), leads me to believe that there is a bug in SSRS 2008 considering cell widths and merged cells? It is like the 10th column header now thinks it is part of the 8th column (being
the 8th cell in its row due to merging) and therefor works with the width of this 8th column to judge how much increased height it needs. In fact it is the width of the 10th column and therefor doesnt need the height it creates, resulting in a huge empty space
underneath the text.
Is this a known issue by Microsoft? Any ETA on this for a fix?This combined with the way "hiding" works in SSRS 2008 oppose to SSRS 2005 (ie, in 2008 a hidden cell disappears completly, moving all next cells up to the left, where as in 2005 a hidden cell just shows as empty in the report), leads me to believe that
there is a bug in SSRS 2008 considering cell widths and merged cells?
Hi Joel_i,
I was a little confused with the paragraph above. Could you please elaborate it?
Based on the information posted, I tried to reproduce the scenario, but it works fine. During my test, the header cells grow
only when the text in the head column is too long which will caused newline, or there is some extra space in some columns. So, you might need to check the properties of the 8<sup>th</sup> column cell, such asSpaceAfer,
SpaceBefore, to make sure all properties are set rightly.
To provide you further assistance, could you please post the report and dataset with sample data to our data collection E-mail
address?
E-mail: sqltnsp AT microsoft.com (Please replace the AT with @, and remove additional spaces).
Thanks,
Lola Wang
Please remember to mark the replies as answers if they help. -
I have a simple column chart grouping on 1 value on the category axis. For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis. I right click on the data series and choose "Add calculated series...". I choose moving average. I want to move the average over at least 2 periods.
When I run the report, I get the error "Formula error - there are not enough data points for the period". The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5). When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
I don't think this is entirely acceptable for our end users. At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart. Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
Thank you,
DanI was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
<ChartFormulaParameter Name="Period">
<Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
</ChartFormulaParameter>
What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
A side note:
If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML. -
SSRS 2008 Bubble chart - How to set the default bubble size?
Hi,
I have a bubble chart. I want to set the size of the bubble in the chart and the size of the bubble in the legend display box to be same. I increased the size of the marker to increase the size of the bubble in the legend display box but it is not increasing
after 8pt. In my chart the size of the bubble is not dependent on any variable or parameter. It is the default size. Is there any way that i can make the size of both the bubble same?Hi Alok_Aswal,
In SQL Server Reporting Services 2008, the Bubble chart has several custom attributes which allow us to control the size of the bubbles. "BubbleMaxSize" and "BubbleMinSize" attributes allow us to define the size of the bubble in the chart series. The values
set are in percent of the whole chart size. We can find those attributes in the property pane by selecting bubble series and expanding 'CustomAttributes' properties.
And based on my research, the Marker size has a wide range, but for some reason once we get to around 8 the bubble in the legend will not grow any bigger. So in your scenario, we can set the Marker size to 8pt, then set the appropriate “BubbleMaxSize" and
"BubbleMinSize" based on the chart size to make the size of both the bubble are the same. For example, we can also set “BubbleMaxSize" and "BubbleMinSize" to 8, then manually adjust the chart size until both the bubbles have same size.
Beside, we can delete the original legend, and drag a tablix to the right of the chart. And then insert the corresponding data and color to tablix to let it looks like a legend. For more details information, you can refer to the link below to see Mike’s
post:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cbf2f48e-fe40-4c1b-b82a-d40fd269f2ef/setting-custom-colors-on-a-column-stacked-bar-chart?forum=sqlreportingservices
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Arial Unicode text overlapping after updgrading from ssrs 2008 to ssrs 2008 R2.
Hi,
we recently upgraded our dev environment to SSRS 2008 R2 SP2. We are seeing issues with Arial Unicode font when exported to PDF. Text is overlapping and hard to read. Below is the example especially with special characters.
Please advice
Any help is appreciated
ThanksHi Lacchi,
Since the reports was upgraded from SQL Server Reporting Services (SSRS) 2008 to SSRS 2008 R2, this issue cannot be reproduce in our test environment. It’s hard to say the root reason. Maybe it was caused by the upgrade operations. In your scenario, does
the issue occur on all reports, or only this report? If this report is not complicated, we suggest you recreating the report and deploy it to report server.
Hope this helps.
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support -
SSRS 2008 - Chart Legend Missing Customitems property
Hi,
I'm currently in the process of converting my SSRS 2005 reports originaly designed with Dundas charts, to a SSRS 2008 report and facing an
issue with the charts legend.
Dundas Charts allows me to create custom legend items on a row, cell collection basis.
After BIDS 2008 has converted the rdl-file everthing looks fine except the custom legend that I have created
in the SSRS 2005 report. The legend items did not appear in the reports preview.
I looked thru all the legend properties and read thru Formatting the Legend on a Chart (Report Builder
and SSRS)
but still unable to locate the properties.
Anyone encounters this issue and likes to share a workaround / solution?
Thanks
BodoHi Mike,
I tried your workaround and it displays properly, but problem is with displaying the Line color. I'm using reportviewer in .Net 2008 and Line control doesn't contain any expression tab. Please help me with setting line color. Attached is RDLC in XML format.
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="DummyDataSource">
<rd:DataSourceID>51fc0fcb-b3fc-4dd4-9397-dfba551fc9df</rd:DataSourceID>
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString />
</ConnectionProperties>
</DataSource>
</DataSources>
<InteractiveHeight>11in</InteractiveHeight>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:SnapToGrid>true</rd:SnapToGrid>
<RightMargin>1in</RightMargin>
<LeftMargin>1in</LeftMargin>
<BottomMargin>1in</BottomMargin>
<rd:ReportID>5dd5ca48-0cc1-46e3-aa1a-c65d468d7238</rd:ReportID>
<DataSets>
<DataSet Name="Item">
<Fields>
<Field Name="Event_ID">
<DataField>Event_ID</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Category">
<DataField>Category</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Country">
<DataField>Country</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="OrderQtr">
<DataField>OrderQtr</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Count">
<DataField>Count</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>DummyDataSource</DataSourceName>
<CommandText>SELECT * FROM Item</CommandText>
</Query>
</DataSet>
</DataSets>
<Width>10.625in</Width>
<Body>
<ReportItems>
<List Name="list1">
<ZIndex>3</ZIndex>
<Left>2.375in</Left>
<DataSetName>Item</DataSetName>
<ReportItems>
<Matrix Name="matrix1">
<MatrixColumns>
<MatrixColumn>
<Width>2.125in</Width>
</MatrixColumn>
</MatrixColumns>
<RowGroupings>
<RowGrouping>
<Width>0.375in</Width>
<DynamicRows>
<Grouping Name="matrix1_ColumnGroup1">
<GroupExpressions>
<GroupExpression />
</GroupExpressions>
</Grouping>
<ReportItems>
<Rectangle Name="rectangle2">
<ZIndex>1</ZIndex>
<ReportItems>
<Line Name="line2">
<Top>0.1in</Top>
<Width>0.285in</Width>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderWidth>
<Default>8pt</Default>
</BorderWidth>
</Style>
<Left>0.06in</Left>
<Height>0in</Height>
</Line>
</ReportItems>
</Rectangle>
</ReportItems>
</DynamicRows>
</RowGrouping>
</RowGroupings>
<ColumnGroupings>
<ColumnGrouping>
<Height>0.05in</Height>
<DynamicColumns>
<Grouping Name="matrix1_ColumnGroup2">
<Label>=Fields!Category.Value</Label>
<GroupExpressions>
<GroupExpression>=Fields!Category.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="textbox3">
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</DynamicColumns>
</ColumnGrouping>
</ColumnGroupings>
<Corner>
<ReportItems>
<Textbox Name="textbox2">
<rd:DefaultName>textbox2</rd:DefaultName>
<Style>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</Corner>
<MatrixRows>
<MatrixRow>
<Height>0.19in</Height>
<MatrixCells>
<MatrixCell>
<ReportItems>
<Textbox Name="textbox5">
<rd:DefaultName>textbox5</rd:DefaultName>
<Style>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
<LineHeight>8pt</LineHeight>
</Style>
<CanGrow>true</CanGrow>
<Value>=Fields!Category.Value</Value>
</Textbox>
</ReportItems>
</MatrixCell>
</MatrixCells>
</MatrixRow>
</MatrixRows>
<Height>0.24in</Height>
</Matrix>
</ReportItems>
<Top>4.25in</Top>
<Width>2.5in</Width>
<Grouping Name="list1_Details_Group">
<GroupExpressions>
<GroupExpression>=Fields!Category.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Height>0.25in</Height>
</List>
<Chart Name="chart2">
<Legend>
<Visible>true</Visible>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderWidth>
<Default>0.5pt</Default>
</BorderWidth>
</Style>
<Position>RightCenter</Position>
</Legend>
<CategoryAxis>
<Axis>
<Title />
<MajorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MajorGridLines>
<MinorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MinorGridLines>
<MajorTickMarks>Outside</MajorTickMarks>
<Min>0</Min>
<Visible>true</Visible>
</Axis>
</CategoryAxis>
<ZIndex>2</ZIndex>
<DataSetName>Item</DataSetName>
<PlotArea>
<Style>
<BackgroundColor>LightGrey</BackgroundColor>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</PlotArea>
<ThreeDProperties>
<Enabled>true</Enabled>
<Rotation>30</Rotation>
<Inclination>30</Inclination>
<Shading>Simple</Shading>
<WallThickness>50</WallThickness>
</ThreeDProperties>
<PointWidth>0</PointWidth>
<SeriesGroupings>
<SeriesGrouping>
<StaticSeries>
<StaticMember>
<Label>Value1</Label>
</StaticMember>
</StaticSeries>
</SeriesGrouping>
</SeriesGroupings>
<Top>0.75in</Top>
<Subtype>Plain</Subtype>
<ValueAxis>
<Axis>
<Title />
<MajorGridLines>
<ShowGridLines>true</ShowGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MajorGridLines>
<MinorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MinorGridLines>
<MajorTickMarks>Outside</MajorTickMarks>
<Min>0</Min>
<Margin>true</Margin>
<Visible>true</Visible>
<Scalar>true</Scalar>
</Axis>
</ValueAxis>
<Type>Pie</Type>
<Width>4.375in</Width>
<CategoryGroupings>
<CategoryGrouping>
<DynamicCategories>
<Grouping Name="chart2_CategoryGroup1">
<GroupExpressions>
<GroupExpression>=Fields!Country.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Label>=Fields!Country.Value</Label>
</DynamicCategories>
</CategoryGrouping>
</CategoryGroupings>
<Palette>Default</Palette>
<ChartData>
<ChartSeries>
<DataPoints>
<DataPoint>
<DataValues>
<DataValue>
<Value>=Count(Fields!Country.Value)</Value>
</DataValue>
</DataValues>
<DataLabel>
<Value>=Count(Fields!Country.Value)*Sum(Fields!Country.Value)/100 + "%"</Value>
<Visible>true</Visible>
</DataLabel>
<Marker>
<Size>6pt</Size>
</Marker>
</DataPoint>
</DataPoints>
</ChartSeries>
</ChartData>
<Style>
<BackgroundColor>White</BackgroundColor>
</Style>
<Title>
<Caption>Open Incident by Country</Caption>
</Title>
<Height>3.125in</Height>
<Left>5.5in</Left>
</Chart>
<Chart Name="chart1">
<Legend>
<Visible>true</Visible>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderWidth>
<Default>0.5pt</Default>
</BorderWidth>
</Style>
<Position>RightCenter</Position>
</Legend>
<CategoryAxis>
<Axis>
<Title />
<MajorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MajorGridLines>
<MinorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MinorGridLines>
<MajorTickMarks>Outside</MajorTickMarks>
<Min>0</Min>
<Visible>true</Visible>
</Axis>
</CategoryAxis>
<ZIndex>1</ZIndex>
<DataSetName>Item</DataSetName>
<PlotArea>
<Style>
<BackgroundColor>LightGrey</BackgroundColor>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</PlotArea>
<ThreeDProperties>
<Enabled>true</Enabled>
<Rotation>30</Rotation>
<Inclination>30</Inclination>
<Shading>Simple</Shading>
<WallThickness>50</WallThickness>
</ThreeDProperties>
<PointWidth>0</PointWidth>
<SeriesGroupings>
<SeriesGrouping>
<StaticSeries>
<StaticMember>
<Label>Value1</Label>
</StaticMember>
</StaticSeries>
</SeriesGrouping>
</SeriesGroupings>
<Top>0.75in</Top>
<Subtype>Plain</Subtype>
<ValueAxis>
<Axis>
<Title />
<MajorGridLines>
<ShowGridLines>true</ShowGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MajorGridLines>
<MinorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MinorGridLines>
<MajorTickMarks>Outside</MajorTickMarks>
<Min>0</Min>
<Margin>true</Margin>
<Visible>true</Visible>
<Scalar>true</Scalar>
</Axis>
</ValueAxis>
<Type>Pie</Type>
<Width>4.375in</Width>
<CategoryGroupings>
<CategoryGrouping>
<DynamicCategories>
<Grouping Name="chart1_CategoryGroup1">
<GroupExpressions>
<GroupExpression>=Fields!Category.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Label>=Fields!Category.Value</Label>
</DynamicCategories>
</CategoryGrouping>
</CategoryGroupings>
<Palette>Default</Palette>
<ChartData>
<ChartSeries>
<DataPoints>
<DataPoint>
<DataValues>
<DataValue>
<Value>=Count(Fields!Category.Value)</Value>
</DataValue>
</DataValues>
<DataLabel>
<Value>=Count(Fields!Category.Value)</Value>
<Visible>true</Visible>
</DataLabel>
<Marker>
<Size>6pt</Size>
</Marker>
</DataPoint>
</DataPoints>
</ChartSeries>
</ChartData>
<Style>
<BackgroundColor>White</BackgroundColor>
</Style>
<Title>
<Caption>Open Incident by Category</Caption>
</Title>
<Height>3.125in</Height>
<Left>0.25in</Left>
</Chart>
<Textbox Name="textbox1">
<rd:DefaultName>textbox1</rd:DefaultName>
<Width>5in</Width>
<Style>
<Color>SteelBlue</Color>
<FontFamily>Tahoma</FontFamily>
<FontSize>20pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Height>0.36in</Height>
<Value>Report1</Value>
</Textbox>
</ReportItems>
<Height>5.625in</Height>
</Body>
<Language>en-US</Language>
<TopMargin>1in</TopMargin>
</Report>
Thanks,
Prem
Prem -
Increase gap between bars in SSRS 2008 charts
Hi,
I'm converting from Crystal Reports 11 to SSRS 2008. In the reports I have bar charts. In CR11 I could set a gap interval between the bars so there would be some white space between each data element. How can I set a gap interval or create white space between each data bar in the charts. I have tried setting custom attributes on the bars and all it did was adjust the width of the bars. Thanks.Hi sjmala,
Based on your description, you want to increase a gap interval between the bars in the chart. Just as Jason Thomas said, you can change the value of PointWidth Property to increase or decrease the interval relatively. However if your chart also has Series Group not just Values and Column Groups, the different series chars at one scale on X-Axis will still be side by side without interval after changing the PointWidth Property, to work around this issue, the following detailed steps are for your reference:
1. Right-click the whole chart, and then select the Series Properties.
2. Switch to Border tab, you can set the line attributes of the border on the left side.
3. Select "Default" in the Line style drop-down list and "White" in the Line color drop-down list,
4. Set the value of Line width to '1pt'or '1.5pt'...
5. Click OK, and preview the chart you will see 2*'1pt' or 2*'1.5pt' interval between the chars at the same scale on X-Axis.
The following picture is produced using above steps:
Thanks,
Challen Foo
Maybe you are looking for
-
Help needed on restoring Iphone..post IOS update..getting an error -1
Help needed on restoring Iphone..post IOS update..getting an error -1
-
Hi all, I'm tearing my hair out here a bit, and finding the API documentation for edge to be not amazing.. Anyway, I've got a project set up with a bunch of stuff on the stage, and I just want to find out what order everything is in like so: var stag
-
Arranging Remote Video Screens
I am responsible for the display of video monitors in the lobby (which are connected to my Mac). In order to see what's on the screens in the lobby, I have to actually go to the lobby and view them. I have been using Spaces, which when activated show
-
Capturing from DVD I get "Capture Now has reached end of tape..."
What do I have set wrong in "Log and Capture" to keep getting this @#$$%% message??? The message comes up as soon as I hit the "Capture Now" button Help
-
Flickr: Is there a reference on how IPhoto and Flickr work w/ each other?
I have a pro Flickr account that I want to use as a backup for IPhoto (a basic auto-sync). Do I have to share my events to Flickr? Is there a way to automate this? I am at around 65GB of photos, so I want to get this right the first time... Thanks