How do I show a comment for each value?

TeeChart for ActiveX, COM and ASP
Post Reply
KingDesigns
Newbie
Newbie
Posts: 7
Joined: Thu Oct 07, 2004 4:00 am
Location: Leesburg, Georgia
Contact:

How do I show a comment for each value?

Post by KingDesigns » Fri May 27, 2005 2:17 pm

The database that houses the data being charted, allows users to add a comment on a result. I can pull the comment from the database and include it with the result set used to populate the chart. What is the best way to give the user the ability to view comments on the chart values?

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

Post by Narcís » Fri May 27, 2005 2:28 pm

Hi KingDesigns,

You can make series marks visible, which would display the labels field from the dataset, and set axes labels to display series values doing:

Code: Select all

    TChart1.Series(0).Marks.Visible = True
    TChart1.Axis.Bottom.Labels.Style = talValue
    TChart1.Axis.Left.Labels.Style = talValue
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