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,
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 4245 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Style for charting

Post by Edward »

Hi

At the moment this is not possible, but the workaround you can find in the attached file, sorry yesterday I attached wrong file.

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

Style for charting

Post by amandus99 »

Hi Edward,
I need the argument for other values. I can't use it for labeling. So in the first step I removed the labels for the second series, not nice, but I think I have no other option...
But another thing is the placement of the labels. I tried to use the format property to format the key into currency, it is formatted as #,##€ if I choose C as paramter, but i need # €. What is the difference between the parameters C and C2?
I tried to solve this by not using the format property. I used the text after property with the string " €". But now the Label is too close or even over the border of its series as you can see in the attachment.

Attachments
260.labeling.jpg
260.labeling.jpg (85.65 KiB) Viewed 1552 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Style for charting

Post by Edward »

amandus99 wrote:I tried to use the format property to format the key into currency, it is formatted as #,##€ if I choose C as paramter, but i need # €. What is the difference between the parameters C and C2?
The difference between C and C2 is amount of decimal places after the value which is being treated as Currency. The default format you probably had for currency values was with two decimal places that is why C and C2 produced the same result.

So C - is a default system formatting for currency values.
C2 - is a default system formatting for currency values but with fixed 2 decimal places.

So you could type in the formatting combobox your own value:
C1 or C4 or C0
I tried to solve this by not using the format property. I used the text after property with the string " €". But now the Label is too close or even over the border of its series as you can see in the attachment.
Yes, this solution consumed some extra space and result was not good.

Just set the following formatting value in the format combobox:

# €

I believe you receive the exactly result as you needed :)

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

Style for charting

Post by amandus99 »

Hi Edward,

Thanks for the explanation with the C parameter.
Now I tried with C0 and also with # €, but the result is always the same behavior as mentioned in my post before, the label are placed over the border when the value is greater than 1000.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Style for charting

Post by Edward »

Hi

You are very welcome.

We will let you know what can be done about that intersection of SeriesLabels and chart edges.

Thank you.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Style for charting

Post by Andrew »

Hello,

The problem is fixed, now the PreventIntersection property will work correctly.
Changes will be available in the next prerelease build on 23-Nov-2009.

Thank you.
Post Reply