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

Various Issues

5 Answers 34 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 05 Jun 2014, 02:59 PM
Hi,

I'm having another try to do some basic charts.  These are the issues that I am having:
1) Changing the colour of the chart from the code behind.  How can that be done - I've tried in all kinds of places Page Init, Page Load, Pre Render etc.  Nothing seems to work.
2) Similar to above I have some code working to generate some PlotBands.  All works fine and they are assigned to the chart but they never appear on the chart,
3) In the XAxis I would like to only show the label every x elements so I have the following code:

<XAxis DataLabelsField="ReceivedDate" Step="7">

With the above I see the labels but it doesn't step over 7 labels at a time.

4) I'd like the right most legend panel to be aligned at the top of the right section.  Obviously using top centres it above the chart.  I just want it aligned to the right but at the top. I presume that things like that are CSS hacks for now?

Any pointers gratefully received.

Regards

Jon

5 Answers, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 06 Jun 2014, 09:49 AM
I've resolved issues 1 & 2 - not sure why the issue appeared but sorted now.  Issues 3 and 4 are still needing a resolution though.

Regards

Jon
0
Jon
Top achievements
Rank 1
answered on 09 Jun 2014, 08:18 AM
Another week and another try.  I've noticed that there is a Step parameter under the LabelsAppearance tag on the XAxis.  I had been using the Step parameter on the XAxis tag. Now it works.

Just #4 needing a CSS hack now
0
Accepted
Danail Vasilev
Telerik team
answered on 09 Jun 2014, 11:02 AM
Hi Jon,

I am glad you have managed to solve most of the issues.

You can use the approach from this feedback item, in order to offset the legend to the desired direction.

Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jon
Top achievements
Rank 1
answered on 09 Jun 2014, 11:20 AM
Many thanks Danail, I'll give that a try

Another issue that came up is that when in a RadDock the tooltips get cut off.  How do I get them to appear above the dock - this was also posted in the raddock forum - not sure which it applies to :)

0
Danail Vasilev
Telerik team
answered on 09 Jun 2014, 12:35 PM
Hi Jon,

I have already replied to the other question on this regard that was opened by you here, so that you can find my answer there.

Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart (HTML5)
Asked by
Jon
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or