Hi Narcís,
Thanks! Using a combination of your workarounds I was able to solve the problem.
Anatoly
Search found 9 matches
- Tue May 22, 2012 4:53 am
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
- Mon May 21, 2012 4:32 am
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
Re: Blurry Back Wall Image
Here is the corresponding code: Chart chart = new Chart(); Bar bar; bar = new Bar(chart); bar.FillSampleValues(); chart.Aspect.View3D = false; chart.Walls.Back.Gradient.Visible = false; chart.Walls.Back.Brush.Image = Image.FromFile(@"d:\TEMP\background.bmp"); Bitmap b = new Bitmap(400, 300); Graphic...
- Mon May 21, 2012 4:10 am
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
Re: Blurry Back Wall Image
I was trying to use your idea in conjunction with Chart.Draw(Graphics g, Rectangle r) method and it almost worked. The image is now sharp but it is not aligned correctly:
The background is drawn in the top-left part of the chart. Compare to the output of Active X version:
- Sat May 19, 2012 7:56 am
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
Re: Blurry Back Wall Image
Hi Narcís,
Thanks a lot! I will try to leverage this information to get the desired result. Unfortunatelly I'm not a source code customer... so do you have any any idea when this issue could be addrressed on your side?
Anatoly
Thanks a lot! I will try to leverage this information to get the desired result. Unfortunatelly I'm not a source code customer... so do you have any any idea when this issue could be addrressed on your side?
Anatoly
- Thu May 17, 2012 2:50 pm
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
Re: Blurry Back Wall Image
Well, I used v2010 and v2011 - it works all the same. I think you're not getting the same result as I did because you're not doing the same thing. On your screen capture you have a control while what I'm talking about here is export to BMP. Could you please try my exact code?
- Wed May 16, 2012 3:52 pm
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
Re: Blurry Back Wall Image
Sure, here is my Active X code that produce correct output. This code is in C# and it invokes TeeChart via interop. ITChart chart = new TChartClass(); ISeries series = chart.Series(chart.AddSeries(ESeriesClass.scBar)); series.FillSampleValues(); chart.Aspect.View3D = false; chart.Walls.Back.Gradient...
- Wed May 16, 2012 3:53 am
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
Re: Blurry Back Wall Image
Here is another example just to make the issue really obvious. In this attachement:
background.bmp - very small (1x3 pixels) bitmap to appear on the back wall of a chart
Ax.bmp - desired output generated with TeeChart Active X v2010
NET.bmp - incorrect output generated with TeeChart.NET
Thanks!
background.bmp - very small (1x3 pixels) bitmap to appear on the back wall of a chart
Ax.bmp - desired output generated with TeeChart Active X v2010
NET.bmp - incorrect output generated with TeeChart.NET
Thanks!
- Wed May 16, 2012 3:09 am
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
Re: Blurry Back Wall Image
Sandra, Thank you much for responding! And I'm sorry for not being clear in the first place, I should have provided my code. I use export to BMP : Chart chart = new Chart(); Bar bar; bar = new Bar(chart); bar.FillSampleValues(); chart.Aspect.View3D = false; chart.Walls.Back.Gradient.Visible = false;...
- Tue May 15, 2012 8:38 am
- Forum: .NET
- Topic: Blurry Back Wall Image
- Replies: 13
- Views: 11615
Blurry Back Wall Image
Hello! We're trying to migrate to TeeChart.NET (2012 4.1.2012.05100) from older Active X version (v2010). Active X version used to produce sharp (aliased) background image: ActiveX.png Analogious code re-writen to TeeChart.NET produces blurry (anti-aliased) background image: NET.png To maintain back...