Hello
I’ve got a problem generating an SVG image from a chart. It works fine, as long as I haven’t got a series with line mode "stairs" and "inverted". As you can see in the attached SVG file, only the vertical line of the stairs and the curve itself are painted. If I try it with normal "stairs" it's painted correctly.
Thanks for your help
Regards
Florian Treier
SVG image from invertet stairs series
-
- Newbie
- Posts: 4
- Joined: Tue Aug 17, 2010 12:00 am
SVG image from invertet stairs series
- Attachments
-
- InvertedStairs.zip
- (3.57 KiB) Downloaded 289 times
Re: SVG image from invertet stairs series
Hello FT_GIAG,
Ok. I could reproduce your problem. I have added your request in bug list report with number [TF02015323]. We will try to fix it, for next maintenance releases of TeeChart.Net.
On the other hand, I suggest you for now, you use a FastLine series as a workaround, so it exports image correctly in format SVG.
Thanks,
Ok. I could reproduce your problem. I have added your request in bug list report with number [TF02015323]. We will try to fix it, for next maintenance releases of TeeChart.Net.
On the other hand, I suggest you for now, you use a FastLine series as a workaround, so it exports image correctly in format SVG.
Thanks,
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 4
- Joined: Tue Aug 17, 2010 12:00 am
Re: SVG image from invertet stairs series
Hello Sandra
Thanks for your quick reply. It would be great if it were fixed in the next version. Btw, any idea when that's going to be?
About your workaround: what are the differences between Line and FastLine, apart from the obvious that FastLine should be faster?
Regards
Florian Treier
Thanks for your quick reply. It would be great if it were fixed in the next version. Btw, any idea when that's going to be?
About your workaround: what are the differences between Line and FastLine, apart from the obvious that FastLine should be faster?
Regards
Florian Treier
Re: SVG image from invertet stairs series
Hello FT_GIAG,
Thanks
I can't still provide an estimate date. I recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's implemented on them.Thanks for your quick reply. It would be great if it were fixed in the next version. Btw, any idea when that's going to be?
FastLine is similar to a Line but stripped down to the very basics for performance purposes. There it doesn't have some Line series properties or objects like Pointers, for example. You also can take a look in the Help for see all both properties and methods.what are the differences between Line and FastLine, apart from the obvious that FastLine should be faster?
Thanks
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 4
- Joined: Tue Aug 17, 2010 12:00 am
Re: SVG image from invertet stairs series
Hello Sandra
I finally got some time to try the new TeeChart Version (4.1.2011.04192)... Unfortunately, this bug is now "reversed": It works perfectly for "stairs" and "inverted", but if I just set "stairs", I get an image similar to the one attached to my first post...
Could you look into that?
Thanks
Florian Treier
I finally got some time to try the new TeeChart Version (4.1.2011.04192)... Unfortunately, this bug is now "reversed": It works perfectly for "stairs" and "inverted", but if I just set "stairs", I get an image similar to the one attached to my first post...
Could you look into that?
Thanks
Florian Treier
Re: SVG image from invertet stairs series
Hello Florian Treier,
I couldn't reproduce your problem using last version of TeeChart.Net and next code:
Please, can you tell us if using previous code you can reproduce your problem? If you don't reproduce your problem with my code, please modify it or send us a simple project, so we can reproduce exactly your problem.
Thanks,
I couldn't reproduce your problem using last version of TeeChart.Net and next code:
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
tChart1.Aspect.View3D = false;
line.FillSampleValues();
line.Stairs = true;
line.InvertedStairs = false;// false;
tChart1.Draw();
tChart1.Export.ShowExportDialog();
}
Thanks,
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 4
- Joined: Tue Aug 17, 2010 12:00 am
Re: SVG image from invertet stairs series
Hello Sandra
I could reproduce it with your code...
Still, I edited the code a bit, so I could compare inverted and normal stairs in one diagram
And with these changes I got the attached image.
What I didn't mention in my last post is that we use .NET 3.5, and we solely compile a 32Bit version. The file version of TeeChart.dll is 4.1.2011.4192.
Hope this helps
Regards
Florian Treier
I could reproduce it with your code...
Still, I edited the code a bit, so I could compare inverted and normal stairs in one diagram
Code: Select all
private void InitializeChart()
{
Line line1 = new Line(tChart1.Chart);
tChart1.Aspect.View3D = false;
line1.FillSampleValues();
line1.Stairs = true;
line1.InvertedStairs = true;
line1.Title = "Inverted Stairs";
line1.Color = Color.Red;
Line line2 = new Line(tChart1.Chart);
line2.FillSampleValues();
line2.Stairs = true;
line2.InvertedStairs = false;
line2.Color = Color.Green;
line2.Title = "Normal Stairs";
tChart1.Draw();
tChart1.Export.ShowExportDialog();
}
What I didn't mention in my last post is that we use .NET 3.5, and we solely compile a 32Bit version. The file version of TeeChart.dll is 4.1.2011.4192.
Hope this helps
Regards
Florian Treier
- Attachments
-
- Result.zip
- (3.2 KiB) Downloaded 267 times
Re: SVG image from invertet stairs series
Hello FT_GAIG,
Thank you, you are right. I have added back it in bug list report with number[TF02015615]to be try to fix for next maintenance releases of TeeChart.Net.
Thanks,
Thank you, you are right. I have added back it in bug list report with number[TF02015615]to be try to fix for next maintenance releases of TeeChart.Net.
Thanks,
Best Regards,
Sandra Pazos / 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 |