MPFlutterChart
MPFlutterChart copied to clipboard
ValueFormatter callback value is wrong in LineChart.
Use case: im trying to print temperature values from sensor . x axis => timestamp in milliseconds. y axis => temperature.
sensor is emitting around every 3 seconds. i try to work on example given in https://github.com/SunPointed/MPFlutterChart/blob/master/mp_chart/example/lib/demo/even_more/realtime.dart
I need to format timestamp values in "HH:MM" format. but as I keep adding entry from sensor ValueFormatter callback is always giving initial timestamp values.
var count = set.getEntryCount().toDouble(); controller.moveViewToX(count); its not moving to last entry.