This is a migrated thread and some comments may be shown as answers.

Issue in Zoom property

1 Answer 77 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Kiran Ghanwat
Top achievements
Rank 1
Kiran Ghanwat asked on 09 Aug 2010, 01:01 PM
Hello,

I am using Chart with Zoom property.

I am facing one issue when I change length of the scrollbar. The width of the Bars gets too much small which is not expected.
I have have attached the flow of the task I have performed.
You can see the decresed width in the Chart2.jpg .


Thanks,
Kiran Ghanwat

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 12 Aug 2010, 09:31 AM
Hello Kiran Ghanwat,

The width of the bars can generally be altered using the ItemWidthPercent property, say :
RadChart1.DefaultView.ChartArea.ItemWidthPercent = 60;

Their width depends on the mechanism of calculating the ItemWidthPercent, as well as the number of ticks/length between ticks. Up until a specific point , the way it's calculated is based on a portion of the step, for example, if you have Step = 5 and ItemWidthPercent = 10, it'd mean that the width of the individual bar would be only 2% of the step ( i.e. 10% of 1/5th ). After that specific point the ItemWidthPercent is applied to the available space between two ticks, which is why the bars would become wider or thinner.

If you need further assistance, please, do not hesitate to contact us

Kind regards,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Kiran Ghanwat
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or