Is there anyway to make sure that Marks appear outside the chart area on a Radar Chart.
If I set marks multi line to true, the makr does not shift up on the top Mark. So the 2nd line of text appears in the chart.
Marks Position
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Luke,
Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
I'm not sure about what the exact problem is here.If I set marks multi line to true, the makr does not shift up on the top Mark. So the 2nd line of text appears in the chart.
Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
I am unable to easily post files so here is cod
see the 2nd Line text of top point. not positioned well. rgds
Luke
Radar serie = new Radar();
serie.Add(0.1, "test radar 1 \n 2nd Line");
serie.Add(0.3, "test radar 2 \n 2nd Line");
serie.Add(0.9, "test radar 3 \n 2nd Line");
serie.Add(0.9, "test radar 3 \n 2nd Line");
serie.Add(0.9, "test radar 3 \n 2nd Line");
serie.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0)));
serie.Circled = true;
serie.Marks.Symbol.Shadow.Height = 1;
serie.Marks.Symbol.Shadow.Visible = true;
serie.Marks.Symbol.Shadow.Width = 1;
serie.Marks.Style = MarksStyles.Label;
serie.Marks.ArrowLength = 15;
serie.Marks.Arrow.Visible = true;
serie.Marks.MultiLine = true;
serie.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0)));
serie.Pointer.Brush.Color = System.Drawing.Color.Red;
serie.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Nothing;
serie.CircleLabels = true;
tChart.Series.Add(serie);
tChart.Aspect.View3D = false;
tChart.Panel.MarginBottom = 15;
tChart.Panel.MarginLeft = 15;
tChart.Panel.MarginRight = 15;
tChart.Panel.MarginTop = 15;
tChart.Axes.Right.Visible = true;
tChart.Axes.Right.Labels.ValueFormat = valueFormat;
tChart.Axes.Right.AutomaticMinimum = false;
tChart.Axes.Right.Minimum = 0;
tChart.Axes.Left.AutomaticMinimum = false;
tChart.Axes.Left.Minimum = 0;
tChart.Axes.DrawBehind = false;
see the 2nd Line text of top point. not positioned well. rgds
Luke
Radar serie = new Radar();
serie.Add(0.1, "test radar 1 \n 2nd Line");
serie.Add(0.3, "test radar 2 \n 2nd Line");
serie.Add(0.9, "test radar 3 \n 2nd Line");
serie.Add(0.9, "test radar 3 \n 2nd Line");
serie.Add(0.9, "test radar 3 \n 2nd Line");
serie.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0)));
serie.Circled = true;
serie.Marks.Symbol.Shadow.Height = 1;
serie.Marks.Symbol.Shadow.Visible = true;
serie.Marks.Symbol.Shadow.Width = 1;
serie.Marks.Style = MarksStyles.Label;
serie.Marks.ArrowLength = 15;
serie.Marks.Arrow.Visible = true;
serie.Marks.MultiLine = true;
serie.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0)));
serie.Pointer.Brush.Color = System.Drawing.Color.Red;
serie.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Nothing;
serie.CircleLabels = true;
tChart.Series.Add(serie);
tChart.Aspect.View3D = false;
tChart.Panel.MarginBottom = 15;
tChart.Panel.MarginLeft = 15;
tChart.Panel.MarginRight = 15;
tChart.Panel.MarginTop = 15;
tChart.Axes.Right.Visible = true;
tChart.Axes.Right.Labels.ValueFormat = valueFormat;
tChart.Axes.Right.AutomaticMinimum = false;
tChart.Axes.Right.Minimum = 0;
tChart.Axes.Left.AutomaticMinimum = false;
tChart.Axes.Left.Minimum = 0;
tChart.Axes.DrawBehind = false;
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Luke,
In that case you can easily solve your problem adding the line below to your code:
Hope this helps!
In that case you can easily solve your problem adding the line below to your code:
Code: Select all
serie.LabelsMargin = 15;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |