Recent

Author Topic: TChart: Bytes/KB/MB/GB autoscale axis  (Read 1283 times)

artem101

  • Jr. Member
  • **
  • Posts: 87
TChart: Bytes/KB/MB/GB autoscale axis
« on: June 15, 2024, 01:59:38 pm »
Hello.

I make chart for display network traffic statistics. Inital values stored in bytes (Int64). How to make automatic axis scaling to more suitable units (Kb/Mb/Gb/Tb/etc...) instead of bytes? Something like TDateTimeIntervalChartSource does with dates.

Thanks.
« Last Edit: June 15, 2024, 02:03:15 pm by artem101 »

wp

  • Hero Member
  • *****
  • Posts: 12459
Re: TChart: Bytes/KB/MB/GB autoscale axis
« Reply #1 on: June 18, 2024, 07:05:06 pm »
Afair there are events OnMarksToLabels

 

TinyPortal © 2005-2018