Pentaho CDE Bar chart display - bar-chart

I am trying to display a simple static Bar Chart in pentaho CDE but while previewing it i am not getting any result.
I am using Pentaho 5.4.0.1.130 version.
my console display.
my chart component panel details
I checked the Query result in mysql workbench and it is giving me proper result

You are missed Height and Width of the chart. Please specify the value of the height and width like below:
Eg: Height: 200
Width: 400

Related

How to set Border around value label in bar chart using Pentaho Report Designer

I am using Pentaho Report Designer (PRD) and a JFreeChart CategoryPlot. Does anyone know how to set a border around value label? The image shows the expected output.
I need a border around last value of bar chart (circled) using Pentaho Report Designer or using JFreeChart.

Show percentage on Pie chart with multiple datasets

I have developed piechart in ssrs with multiple datasets. My scenerio is to set Percentage format for values in Piechart. For same dataset the percentage value is showed correctly, but for values fetch from another dataset can't fetch percentage in piechart. For same dataset the value is as following :
=Sum(Fields!myValue.Value)
For value from another datset:
=Sum(Fields!myVal1.Value, "GetMyValue")
I set Lable value as "#PERCENT" in series properties. For different dataset, is there anything need to change? can anypne help me to solve this..
I have added the sample report image here.
Thanks in advance..
I have fixed this by setting format :
Label - Format : 0.00%
Label - Label : #PERCENT
Now its working as expected..
The output sample is added here...

Set static height for bar chart using SSRS

I have a bar chart and the business has requested that I set the height for each bar at a static height i.e. 40 for the entire result set and then have the data labels displayed above the bar.
How can I set the output to a static height for each bar for the entire chart?
It looks like setting the maximum on the Axis plays silly games with the data labels so - as with most things SSRS - lets get creative!
Create your chart as normal.
Open up your Series Properties and change your Series Data Value Field to =iif(<Your column value expression here> > 40, 40, <Your column value expression here>). This will max out your columns at 40.
Open up your Series Label Properties and change the Label Data to =<Your column value expression here>. This will show the true value in your Data Label.
******************************** Alternatively *******************************
you could just enable Scale Breaks on your vertical axis and see if the business likes the look of that as, I would imagine from experience, what they actually want is more visibility on the difference between the smaller columns that are dwarfed by your Oct 10 column and not a pointless column chart where comparison is impossible without manually reading a load of figures.

SSRS 2005 Report layout displaying on Report Server differently than in VS preview

I created a simple SSRS 2005 report. It is a table with 2 columns. When I preview the report it looks great. I put it on the Report Server (Report Manager) and when it is displayed the width of the columns of the table are only as wide as the widest value. I want the column widths to be a fixed width. I also want the rows to have alternating colors. On the Report Server, only the 2nd column has the coloring.
I have tried setting the table column attribute 'CanGrow' to true. But the table is only as wide as the data. The column widths are set to 3.09167in and 3.55.
It seems that I cannot widen the table columns from their original widths.
If I add padding to the left and right margins the column data is wider but the row coloring is still incorrect.
Has anybody seen this problem before?
Update
Below are screen shots of what the report looks like when previewed in VS2005 and when it is displayed on the Report Server.
In Visual Studio it looks like this (which is what I want it to look like.)
This is what it looks like on the Report Manager:
This is the code that I use to alternate the row color on both columns but only the second one displays the green color:
= IIf(RowNumber(Nothing) Mod 2 = 0, "#BCDCBC", "Transparent")
If I add a third column, the alternating color works for the third column also but not for the first column.
In case anybody else has this problem this is how I worked around it...
To solve the report width problem I put the table inside a rectangle and made the rectangle the width I wanted the table to be and that was corrected.
I could not figure out why the alternating row color code would not work for the first column but for all others. So, I added a 'hack'. I added an additional column to be the first column with no heading and no data. Made it very small in width (0.03) so that is not too noticeable. That allowed the other columns to be correctly colored and the first one is not.

how to display data point names outside of pie chart in ssrs 2008?

I created Pie report in SSRS 2008 R2.
My Problem is want to display data in outside
Can anyone give me the steps How to display Names in outside of report
Go to the Chart Series Properties by either clicking on the chart labels or the data field in the Designer.
Change Label -> Position from Auto:
to Outside:
Chart with Auto position:
Chart with Outside position:
Obviously you'll need to work with the chart/label size to get the Chart looking OK, but hopefully this gets you on the right path.
Edit after comment:
You can set the labels as required under Series Label Properties -> General -> Label data:
Set it to something like:
=Fields!YourField.Value & " " & CStr(Count(Fields!YourField.Value))
as required. Obviously you haven't supplied any details of your DataSet so you'll need to update to suit your requirements.