Cant display Right Axis & Zoom animation

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Snarkle
Newbie
Newbie
Posts: 91
Joined: Wed Jun 30, 2010 12:00 am

Cant display Right Axis & Zoom animation

Post by Snarkle » Wed Jul 07, 2010 3:19 am

Greetings,

1) I cannot display a right axis, I have tried setting it visible in TeeChart Editor, I have tried setting it to visible in VS2010 Properies window and I've tried setting it to visible in code ... I can turn on and off the left axis but I cant get a right axis.

Answered- I found if I set the axis to the series I can display it .. i.e. myCandle.VertAxis = VerticalAxis.Right;

How can I make the rigth axis the default axis for all series (like the left axis behaves).

2) I'd like to see how the animated zoom feature works .. however the example is not complete as it assumes you have already declared a variable ..

in Tutorial 11 - animated zooming What is "points1" a declared type of and is it populated with anything ... also is rectangle from system.drawing or is it a steema class ...

3) Can I display bitmaps on the chart at arbitrary locations .. i.e. financial marker images placed at random date and price values

Regards Phil.
--------------------
Cheers Phil.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Cant display Right Axis & Zoom animation

Post by Narcís » Wed Jul 07, 2010 1:40 pm

Hi Phil,
2) I'd like to see how the animated zoom feature works .. however the example is not complete as it assumes you have already declared a variable ..

in Tutorial 11 - animated zooming What is "points1" a declared type of and is it populated with anything ... also is rectangle from system.drawing or is it a steema class ...
points1 is a Points series which can declared like this:

Code: Select all

    private Steema.TeeChart.Styles.Points points1;
and created this way:

Code: Select all

    points1 = new Steema.TeeChart.Styles.Points(tChart1.Chart);
You can populate series using FillSampleValues() method for testing purposes.

Where tChart1 is of type Steema.TeeChart.TChart.

Rectangle is an object of type System.Drawing.Rectangle.
3) Can I display bitmaps on the chart at arbitrary locations .. i.e. financial marker images placed at random date and price values
Yes, you can draw images directly on TeeChart's canvas as in the example I posted here.
Best Regards,
Narcís Calvet / 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

Snarkle
Newbie
Newbie
Posts: 91
Joined: Wed Jun 30, 2010 12:00 am

Re: Cant display Right Axis & Zoom animation

Post by Snarkle » Thu Jul 08, 2010 6:09 am

Thanks for that ...

Last question on this thread ... Is there a way to set the charts default vertical axis to be the axis.right .... it seems that by default most objects (series, tools etc) expect a left axis and when it is not there things go strange.

regarsd Phil.
--------------------
Cheers Phil.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Cant display Right Axis & Zoom animation

Post by Narcís » Thu Jul 08, 2010 7:53 am

Hi Phil,

No, you can set series to have right axis as vertical axis like this:

Code: Select all

      tChart1[0].VertAxis = Steema.TeeChart.Styles.VerticalAxis.Right;
However, tools may expect a vertical or horizontal axis but shouldn't be any problem setting them to right axis. If any specific problem occurs don't hesitate to let us know.
Best Regards,
Narcís Calvet / 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