Display current page number in a dbChart

1

I have dbChart displaying the data on multiple pages. In a specific graph, for example, there are thirty points to be displayed, but in the MaxPointsPerPage property only 10 (ten) points per page. I created navigation buttons between pages for the user, but what I want is to display to the user on which page it is. For example, Page 3 of 10 . I can do this manually ( via programming ). My doubts are:

  • Is it possible to do the above natively in dbChart ?
  • If yes, how?
asked by anonymous 11.11.2016 / 13:15

1 answer

2

No.

And using the native properties of TDBChart you can use:

Label1.Caption := 'Pág. '+ IntToStr(DbChart1.Page)+ ' de ' + IntToStr(DbChart1.NumPages);

You can use OnPageChange to update who will receive this value! If a new page is added it will automatically update the receiver!

    
16.11.2016 / 11:23