Any updates for the above question( Link pie chart to data tables in Pentaho User Console ). I have a question for the same.
I have already created 1 pie chart & a data table(lists the pie chart slice details) in pentaho report designer and successfully published on server(biserver-ce 5.0.1 stable).Now, I need to make it like this: In that pie chart, it show 2 record. Let me call it as Status A & Status B. When I click a slice named status A, it should update data table of list that related to status A.
Can anyone tell me how I can do that?
Thanks in advance.
try Dashboards.fireChange("your_param", theparamsvalue); in the pie's clickAction property.theparamsvalue could be this.getValue() to store the current selection;also in the pie's properties activate clickable, selectable and so on
Related
I want to have on the same page a pie chart and a bar chart, with trellis pages.
They both have 5 columns as trellis, so 5 different pages that you can visualize by scrolling down.
However, I would like to display the same pages at the same time for both graphs. For instance, let's imagine I'm on the pie chart, I scroll down one page - and so my pie chart is on page2 - I want my bar chart to automatically go to page 2 as well
I tried to use markings but although it links a bit the two graphs, it doesn't change the trellis pages automatically
Does anyone know how to do this ?
as #scsimon mentions, there's no native feature (nor API method, AFAIK) for this using a trellis. however, you can create a Property Control (I'd use a dropdown) in a Text Area, then use the same Document Property to your chart in a Limit By expression.
little more detail, assuming a data table like this:
A B CATEGORY
1 2 red
3 4 red
5 6 green
7 8 green
9 10 blue
11 12 blue
add a Text Area to the page and edit its contents
add a Property Control
click New to create a Document Property, give it a type String and a name category
change Set property value through to Unique values in column and choose the "category" column and click OK
save the Text Area contents
in your Pie Chart's Properties dialog, go to the Data page and look for Limit data using expression. click Edit
set the expression to: [CATEGORY] = "${category}" (don't forget the quotes or the Document Property won't be treated as a string and you'll get an error)
repeat steps 6 & 7 for your other chart
As #scsimon mentioned in the comments, it seems to be impossible. I found a way to have a similar representation though without using trellis visualization, by using text arena
I created a list box that contains the 5 columns I want to visualize, and then I select this list box as the vertical axis variable of the bar chart and the sector size of the pie chart
Then, by clicking on my list box, I can have a synchronized Pie chart and Bar chart (a bit different from what I expected but it also has some advantages like a multiple scale since a new graph is generated independently of the other variables)
I'm using Visual Studio 2010 reporting to generate a report which has a table and a pie chart. Both work just fine except that for the pie chart, I'm to put the % value on each pie chart slice.
1. Is this even possible?
2. If it is, how do I do it?
Thanks
To put the % value on each pie chart slice do this (as shown here):
On the design surface, right-click on the pie and select Show Data Labels. The data labels should appear within each slice on the pie chart.
On the design surface, right-click on the labels and select Series Label Properties. The Series Label Properties dialog box appears.
Type #PERCENT for the Label data option.
Beware: If you use multiple data fields like this:
you need to move every field to first position and perform above steps as shown here otherwise you end up with only one pie chart slice showing the percentage and the others are blank...
I am maintaining a product developed on Dundas Dashboards v 2.5. In one of the dashboards they are rendering data in Pie Charts and Bar Charts. For bar charts on the y axis the values appear as Million. I mean 6M , 8M. But in pie charts the value shows up as 6000000 for 6M.
Is there any setting in Bar Charts that displays data as 6M and 8M etc. One more thing to note is that they are using the same dataset to display the data. So, I am assuming that there is some setting at the chart level.
Any ideas and suggestions are appreciated!
Select the bar chart in the dashboard designer. In the property grid, drill into the "Y Axes" property, and from there into the "Scale" property. At the bottom of the Scale properties, there is one property called "Label Format". Copy this value, and paste it into the same property for the pie chart.
See here for more info: http://support.dundas.com/Dashboard3.Chart_Usage.ashx
The pie chart is driving me nuts...Excuse me if I sound ignorant but I have figured out the other RS charts with relative ease, and this is the first time I have had to use the Reporting Services pie chart.
I have a dataset:
Columns:
ChildId int
AssessmentType varchar
Score int
All I want is to have a pie chart that displays the percent of the whole for each assessment type. So if I had 10 records returned with the following:
2 "THIS" Assessment Types
5 "THAT" Assessment Types
3 "THEOTHER" Assessment Types
I would want the pie chart to show that the "THIS" Assessment peice of the pie is 20%, the "THAT" is 50%, "THEOTHER" as 30%, but I cannot figure out how to set it up. Can any one help me out on this, or refer me somewhere. I have been looking for some time and can't find any pages that have helped me with this control.
I figured this out...To show the percentage:
Right click on the chart and click on properties.
Go the the Data table, select your "[Value]" and click edit.
Go to the Point Labels tab and check "Show point labels".
In the format code enter P
Edit the expression and calculate your percentage. In my example I would use the code below.
=Count(Fields!ChildId.Value) / Count(Fields!Childid.Value, "MyDataset")
The problem I was having is that I was filtering the data set at the chart level with a filter expression. So when I was trying to calculate the percentage using the code below my numbers were getting thrown off. The filter is not applied the dataset count when retrieved like I was doing it.
Count(Fields!Childid.Value, "MyDataset")
Please can any one help me out how to pass array values to the dojo pie chart using javascript..
I need to update the pie chart on fly. on selection on user from gridivew..
I can help with Pie chart:
my_chart.
// let's update data
updateSeries("your series name here", your_data_here).
// finished updating, now let's show the changes
render();
Adding a series with the same name will work too:
my_chart.
// let's update data
addSeries("your series name here", your_data_here).
// finished updating, now let's show the changes
render();