Stacked column height and series labels in chart

Stimulsoft Ultimate discussion
Post Reply
hellenschmidt
Posts: 32
Joined: Fri Dec 07, 2012 1:40 pm

Stacked column height and series labels in chart

Post by hellenschmidt »

Hi,

we have two problems with a chart using stacked columns:

Image

1. the series labels overlap, is there any possibility to prevent this?

2. the chart height is never used, there is always an unused area on top of the stacked columns. How can I enlarge the stacked columns? This may also help to prevent label overlap.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Stacked column height and series labels in chart

Post by HighAley »

Hello, Hellen.

To remove the free space you could set the Range of Y Axis in chart settings. Chart editor - Area - Y Axis - Range.

Unfortunately. there is no way to prevent intersection of labels of small values.

Thank you.
hellenschmidt
Posts: 32
Joined: Fri Dec 07, 2012 1:40 pm

Re: Stacked column height and series labels in chart

Post by hellenschmidt »

Hi Aleksey,

thanks for your response. The Range of Y-Axis is set to Auto, I cannot change this to a manual range because the data is variable. Why does "Auto" not use the complete range?

Are there any plans to implement intersection, this is a heavy problem for our customer (you do not want to present this result to your chief).
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Stacked column height and series labels in chart

Post by HighAley »

Hello.

It's possible yo change Range dynamically from Before print event of the chart.

Code: Select all

((Stimulsoft.Report.Chart.StiAxis)(((Stimulsoft.Report.Chart.StiAxisArea)(Chart1.Area)).YAxis)).Range.Auto = false;
((Stimulsoft.Report.Chart.StiAxis)(((Stimulsoft.Report.Chart.StiAxisArea)(Chart1.Area)).YAxis)).Range.Maximum = 4;
The Series labels are shown as is. Unfortunately, we can't change its behavior.

Thank you.
Post Reply