Gridlines and DashStyle
-
- Newbie
- Posts: 8
- Joined: Mon Mar 01, 2004 5:00 am
Gridlines and DashStyle
Hello,
We export a tchart to a metaFile. Solid Lines look the way they should but other styles (like dot, dashdot or dashdotdot) are too big.
Compared to a line with the same height and width it looks about twice as fat. When printed out or in preview mode it's almost impossible to see that the style is dotted (it looks like the dot's and dashes that makeup the line overdraw eachother).
What can we do to make dotted lines smaller/look better?
Regards, Jan[/img]
We export a tchart to a metaFile. Solid Lines look the way they should but other styles (like dot, dashdot or dashdotdot) are too big.
Compared to a line with the same height and width it looks about twice as fat. When printed out or in preview mode it's almost impossible to see that the style is dotted (it looks like the dot's and dashes that makeup the line overdraw eachother).
What can we do to make dotted lines smaller/look better?
Regards, Jan[/img]
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello Jan,
Yes, you are right. I've already added to our defect list to be fixed for future versions. In the meantime you could use other formats as .bmp or .png which already work fine.We export a tchart to a metaFile. Solid Lines look the way they should but other styles (like dot, dashdot or dashdotdot) are too big.
Compared to a line with the same height and width it looks about twice as fat.
That's the .NET Framework's DashStyle implementation. However zooming thep print preview or even increasing line's width will help you appreciating the style.When printed out or in preview mode it's almost impossible to see that the style is dotted (it looks like the dot's and dashes that makeup the line overdraw eachother).
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 |
-
- Newbie
- Posts: 8
- Joined: Mon Mar 14, 2005 5:00 am
- Location: Germany
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Holger,
It's being investigated. However, if the problem is related to Microsoft basic classes there won't be anything we can do. That's why we can't tell you for sure if this problem will be solved.
It's being investigated. However, if the problem is related to Microsoft basic classes there won't be anything we can do. That's why we can't tell you for sure if this problem will be solved.
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 |
-
- Newbie
- Posts: 6
- Joined: Mon Mar 14, 2005 5:00 am
- Location: Germany
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Holger,
We are going to test it using TeeChart for .NET v2 in Visual Studio .NET 2005 Beta which uses Microsoft .NET v2 Framework and will get back to you with the results and our conclusion.
We are going to test it using TeeChart for .NET v2 in Visual Studio .NET 2005 Beta which uses Microsoft .NET v2 Framework and will get back to you with the results and our conclusion.
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 Jan and Holger,
We have found that this is not a bug, just using the code below solves that problem.
We have found that this is not a bug, just using the code below solves that problem.
Code: Select all
tChart1.Export.Image.Metafile.EMFFormat = System.Drawing.Imaging.EmfType.EmfPlusDual; //this is important
tChart1.Export.Image.Metafile.Save(@"C:\Temp\test1.emf");
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 |
-
- Newbie
- Posts: 8
- Joined: Mon Mar 14, 2005 5:00 am
- Location: Germany
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Holger,
Yes, it is a new version 2 feature.
Yes, it is a new version 2 feature.
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 |