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

Control Marked Zone Borders

1 Answer 46 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Pradyumna
Top achievements
Rank 1
Pradyumna asked on 14 Oct 2010, 07:58 PM
Hi,

My requirement is to have two horizontal lines on the Y-axis to show start level and target levels. I have used a marked zone and applied necessary x and y values. I have applied a transparent color to the marked zone so it appears like a box with red borders. Is it possible to control the visibility of the borders or the color patterns of the borders. If it has this level of control, that will solve my problem.

Another approach suggested in the forum is to have a line series with constant data or Y-axis. The problem with this approach is that the horizontal line appears only until the point where data is available. If data is unavailable, then the line series does not appear.

Any suggestions on the marked zone customization?

Thanks,
Prad.

1 Answer, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 19 Oct 2010, 12:09 PM
Hi Pradyumna,

Hi Pradyumna,

The Border visibility can be controlled, however the setting is applied to all borders for the marked zone.
One possible option in this case would be to define very narrow marked zone(s), as shown in the code snippet below:

<PlotArea>
 <MarkedZones>                
 <telerik:ChartMarkedZone ValueStartX="1" ValueEndX="1.02">
 <Appearance FillStyle-MainColor="Red" Border-Visible="false">
 </Appearance>
 </telerik:ChartMarkedZone>                                  
 </MarkedZones>
 <XAxis AutoScale="False" MaxValue="4" Step="1">
</XAxis>
</PlotArea>

I hope this information gets you started properly.

Sincerely yours,
Yavor
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


Kind regards,
Yavor
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 (Obsolete)
Asked by
Pradyumna
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or