Style for charting

Stimulsoft Reports.NET discussion
amandus99
Posts: 25
Joined: Fri Oct 16, 2009 7:53 am

Style for charting

Post by amandus99 »

Hi,
I added a StackedBar to my Report. In the Designer, I changed the colors for the bars, but when I go to the preview, the chart is shown with the default Style01 colors. What I'm doing wrong?
amandus99
Posts: 25
Joined: Fri Oct 16, 2009 7:53 am

Style for charting

Post by amandus99 »

this Problem could be solved by changing the Allow Apply Style property to false.
But now I have another problem:

In my chart there are two series. I want to set different Series Labels for each of them. But I can only set the series for the whole chart. If i doublecklick the chart, I can set the series labels for every series, but the chart isn't affected by this property??
In the documentation there is no entry for charting and your examples are only styled with the default styles.

Another thing is, how to save my colors? When I choose custom and define one, it isn't saved.

Thank you
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Style for charting

Post by Edward »

Hi,

To apply different Series Labels for different Series, we have 'Show Series Labels' property for each of Series. You can find this property in the Series Editor.

Please set ShowSeriesLabels in the 'FromSeries' value.

> Another thing is, how to save my colors? When I choose custom and define one, it isn't saved.
Which colours you could not save? We had an error of saving user's styles but we have corrected it in the latest versions of Stimulsoft Reports.Net.

What was the version number you used?

Thank you.
amandus99
Posts: 25
Joined: Fri Oct 16, 2009 7:53 am

Style for charting

Post by amandus99 »

Hi,
thank you, the label problem is now fixed :)

The styles works fine, but not the colors. I define a custom color and this color isn't saved in the color palette. The colors in a style are working fine.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Style for charting

Post by Edward »

Hi

You are welcome :)

Please let us know the version of Stimulsoft Reports.Net you are using.

Thank you.
amandus99
Posts: 25
Joined: Fri Oct 16, 2009 7:53 am

Style for charting

Post by amandus99 »

Hi,
I'm using 2009.3.414 from October 26st 2009.

But I've identified another problem. Is it possible to calculate the value for the labels?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Style for charting

Post by Edward »

Hi

Could you please provide us with more details about your task.

Thank you.
amandus99
Posts: 25
Joined: Fri Oct 16, 2009 7:53 am

Style for charting

Post by amandus99 »

Hi,
My chart is a stacked column chart with 2 series. The green one works right, the blue one is calculated as (blue value - green value), so the chart is right. But the label for the blue column should show the blue value instead of blue - green.
Attachments
253.chart.jpg
253.chart.jpg (46.23 KiB) Viewed 2841 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Style for charting

Post by Edward »

Hi

Please find attached file. The trick is to use for the second series Argument as a Value you need to display.

Is that the result you were after?

Thank you.
Attachments
254.ArgumentInsteadOfValue.mrt
(11.11 KiB) Downloaded 228 times
amandus99
Posts: 25
Joined: Fri Oct 16, 2009 7:53 am

Style for charting

Post by amandus99 »

Hi,
sorry but this isn't the solution. I need an expression for the label of series 2. The values for series 2 are calculated by series2 - series1, but the label should be only series 2. In your example I painted the desired values for the labels of series 2
Attachments
257.chart2.jpg
257.chart2.jpg (93.06 KiB) Viewed 4231 times
Post Reply