Line chart pointer styles

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
DALC.SENIOR
Newbie
Newbie
Posts: 11
Joined: Thu Feb 28, 2013 12:00 am

Line chart pointer styles

Post by DALC.SENIOR » Mon Apr 15, 2013 8:28 pm

Are there only 10 pointer styles?
If so, where can I find a list?
Is it possible to design our own pointer styles to use?
If so, where can I find an example or directions?

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Line chart pointer styles

Post by Yeray » Tue Apr 16, 2013 1:11 pm

Hello,

The pointer styles are: "rectangle", "cube", "cylinder", "cone", "ellipse", "sphere", "triangle", "diamond", "downtriangle", "cross", "x".
These are the basic pointer styles supported in all the TeeChart versions.

Also, you can assign an image to be used as brush. Ie:

Code: Select all

Series1.pointer.format.image.url="./images/metal.jpg";
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

DALC.SENIOR
Newbie
Newbie
Posts: 11
Joined: Thu Feb 28, 2013 12:00 am

Re: Line chart pointer styles

Post by DALC.SENIOR » Mon May 13, 2013 2:50 pm

How can I assign different value based pointer styles to individual points on the graph?

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Line chart pointer styles

Post by Yeray » Thu May 16, 2013 10:04 am

Hi,

The only way I can think is to override the Pointer.draw function changing the style in it depending on the index.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply