Hi,
New user question here...
I've noticed that if I:
1. Generate a horizontal bar graph (for example) with all rows visible
2. Have a DataTable to the left of the chart
3. Resize the form vertically shrinking the graph area
Doing this, some datatable rows disappear (though the bars are still there), so I understand there is a need for paging at this point.
Is it possible to detect when this "truncation" condition occurs so I can warn the user or take the appropriate action (such as starting paging)? Is there a preferred approach to handling this?
Thanks,
Mike Simmons
Paging - Determining when it is needed?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mike,
I'm not sure if this is what you mean but what I see here is that all bars are displayed but some labels and therefore their datatable entries disappear. This is because TeeChart automatically prevents axes labels from overlapping so when axis size would make this happen axis increment is automatically changed. Can you please confirm this is what you mean?
Thanks in advance.
I'm not sure if this is what you mean but what I see here is that all bars are displayed but some labels and therefore their datatable entries disappear. This is because TeeChart automatically prevents axes labels from overlapping so when axis size would make this happen axis increment is automatically changed. Can you please confirm this is what you mean?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mike,
One way to know how many and which labels will be drawn in an axis is using the OnGetAxisLabel or OnGetNextAxisLabel events. There you can check if axis Increment is what you desired and the label being added is what you expected or you need to customize it there.
One way to know how many and which labels will be drawn in an axis is using the OnGetAxisLabel or OnGetNextAxisLabel events. There you can check if axis Increment is what you desired and the label being added is what you expected or you need to customize it there.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |