I want to show a chart where the Primary axis is a DateTimeAxis and the Secondary axis is a NumericalAxis. This chart will show live data for the last 5 hours (the data source will be trimmed continuously) and I have the following requirements on that -
- My Y-axis will be scaled based on the live data. The labels value should be always an integer and the label will always start with "0"
- The Y-axis will always show exactly 3 labels (The first one is fixed ["0"], other two will be based on the new range)
- My data will never exceed 200. So I do not want to show any label with value more than 220
I have tried to achieve these for a while, but couldn't able to come up with any implementation which meets my requirements. Can you suggest me any cleaner approach to do that?