The horizontal grid lines are overlapped on right axes

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Pradip
Newbie
Newbie
Posts: 14
Joined: Tue Mar 10, 2009 12:00 am
Contact:

The horizontal grid lines are overlapped on right axes

Post by Pradip » Fri Jul 10, 2009 5:51 pm

hi

please see below image
overlapping3.JPG
overlapping3.JPG (13.32 KiB) Viewed 5514 times
for more clear picture please see this images
overlapping2.JPG
overlapping2.JPG (43.47 KiB) Viewed 5515 times
the horizontal grid lines (which are gray in color) are overlapping on the axes on the right side(black in color).
in 400% zoom the lines are more cleares and it looks like the right side axis is cutting.

please give us any solution so that we can resolve this defect.


thank in advance.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: The horizontal grid lines are overlapped on right axes

Post by Sandra » Mon Jul 13, 2009 10:16 am

Hello Pradip,

I could reproduce your problem with last versions of TeeChartFor .Net, and I have conciderated add to list bug reports with number [TF02014289], we will try to fix it for next versions of TeeChart .NET.

On the other hand, I make a simple code that solve your problem,drawing directly in the canvas a line.Please check that next code works fine in your application.

Code: Select all

        private void InitializeChart()
        {
           
          tChart1.Aspect.View3D = false;
          Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
          line.FillSampleValues();
          tChart1.AfterDraw += new Steema.TeeChart.PaintChartEventHandler(tChart1_AfterDraw);
          tChart1.Draw();
        }

        void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
        {
            Rectangle rect = new Rectangle();
            rect = tChart1.Chart.ChartRect;
            g.Pen.Color = tChart1.Axes.Left.AxisPen.Color;
            g.VerticalLine(rect.Right,rect.Top,rect.Bottom);
        }
I hope that will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Pradip
Newbie
Newbie
Posts: 14
Joined: Tue Mar 10, 2009 12:00 am
Contact:

Re: The horizontal grid lines are overlapped on right axes

Post by Pradip » Thu Jul 16, 2009 10:12 am

hi Sandra,

thanks for the suggetion.

i had tried your code to resolve this problem, at first it looks ok, but if we zoom to 400 there are still small lines shows on the vertical right axes, which was not accepted at our end.

can you please let us know when you are planning next relaease?


Regards
Pradip.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: The horizontal grid lines are overlapped on right axes

Post by Sandra » Thu Jul 16, 2009 10:51 am

Hello Pradip,
i had tried your code to resolve this problem, at first it looks ok, but if we zoom to 400 there are still small lines shows on the vertical right axes, which was not accepted at our end.
I couldn't reproduce your problem here, please you could send us a simple example project we can run "as-is", to reproduce the problem here? Now, you can attach your project direcly in forums post.
can you please let us know when you are planning next relaease?
Next TeeChart for .NET 2009 release is due out on week 33 (from 10th to 16th August). However, we can't promise this issue will be fixed for this release yet. A date for next TeeChart for .NET v3 release hasn't been fixed yet.

Also, we recommend you to be aware at this forum or subscribe to our RSS news feed (http://www.steema.com/news/Steema.xml) for new release announcements and what's fixed on them.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply