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

Axis Item Labels not showing correctly in Preview mode

1 Answer 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Swee Eng
Top achievements
Rank 1
Swee Eng asked on 29 Feb 2012, 08:00 AM
Hi,

I created a line chart in my report. Using the Wizard, I set the skin to Deep Green. Then based on the website documentation, I went to the Properties of the Chart to create ChartAxisItems for my X-Axis. I changed the Text value to "00:00" etc. In the Designer mode, all the axis item labels showed as expected. However when I switch to Preview mode, I still see my X-Axis items labelled as 0, 1, 2, 3 etc... I have tried compiling again, but din make a difference. Hope you can advise me on what I have not done or have done wrongly. Thank you for your time.

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 02 Mar 2012, 12:33 PM
Hello Kenneth,

The chart is resetting some of the properties when uising skins. If you want to use the chart's skin property, you will have to programmatically set the properties you need (and are being reset) in the code-behind.
It is best to do that in the constructor after the InitializeComponent() call.

Kind regards,
Elian
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Swee Eng
Top achievements
Rank 1
Answers by
Elian
Telerik team
Share this question
or