Help needed in changing some settings in TeeChart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
biji
Newbie
Newbie
Posts: 35
Joined: Wed Jul 02, 2008 12:00 am

Help needed in changing some settings in TeeChart

Post by biji » Mon Sep 02, 2013 7:41 pm

I am working with TeeChart for .net,I am creating application in C#. I would like to increase the size of drawing line(series) in the chart. presently it is drawing very thin line which is not visible for all people. How to increase size of drawing line in TeeChart.

I have attached a simple chart image from my application. I would like to draw the line with more or equal size to axis lines. presently it seems drawing line size less that axis line size. I mean i want to draw line more thick.

I have one more doubt which is
2) How to assign axis scale more reliably, I mean presently if i have axis minimum and maximum scale values from 0 to 6, then it is showing on the axis like 0,2,4,6. I would like to see like 0,1,2,3,4,5,6 like that i mean with 1 scale increment. Please help me with the above two things.

1) How to increase drawing line(series) size?
2) How to assign scale of axis more convenient?
Attachments
2013-09-02_18-02_chartVolume2.bmp.jpg
Chart Image
2013-09-02_18-02_chartVolume2.bmp.jpg (24.07 KiB) Viewed 5101 times

JohnS
Newbie
Newbie
Posts: 31
Joined: Mon Aug 26, 2013 12:00 am

Re: Help needed in changing some settings in TeeChart

Post by JohnS » Tue Sep 03, 2013 7:39 am

Hi,

1: To make lines thicker (in case of FastLine):
(tChart1.Series[index] as Steema.TeeChart.Styles.FastLine).LinePen.Width = 3;

2: Change increment for Y-axis:
tChart1.Series[index].CustomVertAxis.Increment = (tChart1.Series[index].CustomVertAxis.Maximum - tChart1.Series[index].CustomVertAxis.Minimum) / 10;
//Set division factor for whatever you need :)

biji
Newbie
Newbie
Posts: 35
Joined: Wed Jul 02, 2008 12:00 am

Re: Help needed in changing some settings in TeeChart

Post by biji » Wed Sep 04, 2013 10:34 am

Hi JohnS,

Thank you very much for you help.

Post Reply