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

How to have fixed line in x and y axis in the point chart?

3 Answers 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sivam
Top achievements
Rank 1
Sivam asked on 09 Jul 2010, 12:19 PM
Hi,

Is there any way to have a fixed line on x and y axis in the point chart. Is it also possible to have 2 fixed lines in x and y axis in the point chart. Please find the requirement chart attached.

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 13 Jul 2010, 01:25 PM
Hello Sivam,

Thank you for the screenshoot.

Unfortunately we don't have out of the box solution for a such chart scenario. As a workaround our suggestion is to set a Marked Zone (Chart -> PlotArea -> MarkedZones) for a vertical line and new Chart Series with Type set to Line and two Items for horizontal line. Please check out the attached screenshoot that show the ChartMarkedZone Collection Editor.

Best wishes,
Peter
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
0
Sivam
Top achievements
Rank 1
answered on 13 Jul 2010, 02:31 PM
Hi Peter,

   Thanks for the response. I've tried to use MarkedZones. For my requirement, i'm using overlapped markedzones. How can i make one markedzone as transparent? I managed to show the border, by changing the FillType to Hatch. But i could not show the label. I can see the label in design mode. But in Preview mode, i could not see the label. Am i missing anything? How can i show the label also?

   i've attached the screenshot for design & preview mode for your reference.


Thanks,
sivam
0
Steve
Telerik team
answered on 15 Jul 2010, 01:21 PM
Hello Sivam,

Unfortunately you're correct. The problem is that the labels of the MarkedZones are not serialized for some reason - we would investigate and fix this. For the time being you should add them through code right after the InitializeComponent() method in the report constructor.

Sorry for the temporary inconvenience.

Regards,
Steve
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
General Discussions
Asked by
Sivam
Top achievements
Rank 1
Answers by
Peter
Telerik team
Sivam
Top achievements
Rank 1
Steve
Telerik team
Share this question
or