Hello,
when I set Pie-Series "Marks.Visible"-Property to true,
the Marks are not visible on every piece of the Pie-Series. Is this a bug of the Webchart (I'm using Version 3.5.3274.30663)?
Best regards
Michael
Pie-Series Marks
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello Michael,
Could you please send us a s code snippet or 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 or at our upload page.
Thanks in advance.
Could you please send us a s code snippet or 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 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 |
Hello Narcís,
here is a code example:
I've uploaded a picture of the Webchart called "PieMarks.PNG", where you can see the result of this code. The Webcharts TempChart-Property is set to "Httphandler".
Best Regards
Michael
here is a code example:
Code: Select all
public partial class _Default : System.Web.UI.Page
{
Steema.TeeChart.Chart chart1;
Steema.TeeChart.Styles.Pie pie1;
protected void Page_Load(object sender, EventArgs e)
{
chart1 = WebChart1.Chart;
chart1.Aspect.View3D = true;
chart1.Legend.Visible = true;
chart1.Legend.TextStyle = Steema.TeeChart.LegendTextStyles.RightPercent;
chart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;
pie1 = new Steema.TeeChart.Styles.Pie(chart1);
pie1.Marks.Visible = true;
pie1.Add(10, "Tes1", Color.Red);
pie1.Add(20, "Test2", Color.Green);
pie1.Add(5, "Test3", Color.Violet);
pie1.Marks.Visible = true;
}
}
Best Regards
Michael
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Michael,
Thanks for your code snippet. I've been able to reproduce the issue here and I think it's a bug. I've added the defect to the bug list (TF02013775) to be fixed for next releases.
Thanks for your code snippet. I've been able to reproduce the issue here and I think it's a bug. I've added the defect to the bug list (TF02013775) to be fixed for next releases.
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 Michael,
Investigating this issue we found that setting Marks.SoftClip=false solves the problem, for example:
We will also try to fix it for the next maintenance release.
Investigating this issue we found that setting Marks.SoftClip=false solves the problem, for example:
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Pie pie1 = new Steema.TeeChart.Styles.Pie(tChart1.Chart);
pie1.Marks.Visible = true;
pie1.Marks.SoftClip = false;
pie1.Add(10, "Tes1", Color.Red);
pie1.Add(20, "Test2", Color.Green);
pie1.Add(5, "Test3", Color.Violet);
}
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 |