7 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 07 May 2008, 12:22 PM
Hi Pete,
Go through the following forum links.
Styling Chart Elements
Custom Appearance Properties
Shinu.
Go through the following forum links.
Styling Chart Elements
Custom Appearance Properties
Shinu.
0
Pete
Top achievements
Rank 1
answered on 13 May 2008, 01:15 PM
Hi, these forums don't show me how to change an individual point depending on a value, is this possible
ie ,
ie ,
if (double.Parse(results.Rows[i]["ObservationValue"].ToString()) > 2)
{
RRChartSeries1.Items[i].ActiveRegion.Tooltip =
"Too HIGH";
RRChartSeries1.Items[i].Appearance.FillStyle.MainColor = System.Drawing.Color.Red;
}
and I want to set a different point shape depending on this value being true ?
0
Hello Pete,
Unfortunately you cannot set different point marks for the line series items depending on their value -- you can choose a point mark figure for the whole series from the predefined values (Cross, Diamond, Circle, Rectangle, Star3, Star4, Star5, Star6) and set it like this:
Regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Unfortunately you cannot set different point marks for the line series items depending on their value -- you can choose a point mark figure for the whole series from the predefined values (Cross, Diamond, Circle, Rectangle, Star3, Star4, Star5, Star6) and set it like this:
<rad:RadChart ID="RadChart1" runat="server"> |
<Series> |
<rad:ChartSeries DataYColumn="Value" Type="Line"> |
<Appearance> |
<PointMark Figure="Cross" Visible="True"> |
<FillStyle FillType="Solid" MainColor="Yellow"> |
</FillStyle> |
</PointMark> |
</Appearance> |
</rad:ChartSeries> |
</Series> |
<PlotArea> |
<YAxis AxisMode="extended"> |
</YAxis> |
</PlotArea> |
</rad:RadChart> |
Regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Pete
Top achievements
Rank 1
answered on 14 May 2008, 02:42 PM
Thanks for the fast reply. I will find another way of doing this.
0
Chris
Top achievements
Rank 1
answered on 08 Mar 2009, 10:09 AM
How i can activate the predefined point shapes using vb.net code? In the manual i cannot find any informations ...
thanks chris
thanks chris
0
Chris
Top achievements
Rank 1
answered on 08 Mar 2009, 10:11 AM
0
Hello Chris,
Here is a sample VB.NET code snippet to get you started:
Hope this helps.
Sincerely yours,
Manuel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Here is a sample VB.NET code snippet to get you started:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
Dim series As New ChartSeries() |
series.Type = ChartSeriesType.Line |
series.AddItem(5) |
series.AddItem(11) |
series.AddItem(15) |
series.AddItem(11) |
series.Appearance.PointMark.Figure = Telerik.Charting.Styles.DefaultFigures.Diamond |
series.Appearance.PointMark.Visible = True |
series.Appearance.PointMark.FillStyle.MainColor = Drawing.Color.Red |
series.Appearance.PointMark.FillStyle.FillType = Styles.FillType.Solid |
RadChart1.Series.Add(series) |
End Sub |
Hope this helps.
Sincerely yours,
Manuel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.