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

Basic Chart Problems

3 Answers 56 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 1
Vinay asked on 15 Sep 2011, 07:33 AM
Hi,
  1. How can i change background color of the chart ItemLabels.
  2. How can i fix the size of the chart so that it wont change the size when data varies.
  3. Ii dont get the ItemLabel for the longest bar displayed on the charts?

3 Answers, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 20 Sep 2011, 12:17 PM
Hi Vinay,

Onto your questions:
1. You should follow this topic where it is described how to change the default style of the Series Items Labels.
2. I assume that you don't want to change the Range of the XAxis as the ChartArea itself doesn't change it's physical size when the data varies? This can be achieved if you set custom range for the XAxis. For the purpose turn off the AutoScale property and set MinValue, MaxValue and Step.
3. Can you provide us a sample image of what do you get as result so that we will be able to suggest you how to make the Label for the longest bar visible?

Best wishes,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Vinay
Top achievements
Rank 1
answered on 20 Sep 2011, 12:27 PM
Hi,
Thanks a ton for the reply.
I have attached a image where i am not able to view the first and the last bar of my char.
Please find the image attached.
0
Evgenia
Telerik team
answered on 21 Sep 2011, 02:11 PM
Hi Vinay,

The reason for this is cause there is not enough space for the top-most and bottom -most Series Labels to be shown. You should increase the Top and Bottom Margins of the ChartArea to have all Labels fully readable.

Kind regards,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
Vinay
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Vinay
Top achievements
Rank 1
Share this question
or