I have a chartview with a vertical linear axis. I have a dropdown that can be toggled changing the item that is graphed. Typically the item that is graphed is a numeric value that is not bound to any specific range. The chartview component handles this really well and adjusts the Y-axis values/ticks appropriately. No issues. Works well.
However, I am now getting items that are True/False and I would like to display the as either on/off, or even 1 or 0. Thus I want 2 ticks with the first tick having the value of 0 (minimum) and the second tick have a value of 1. And that is it. How can I do that?
Also, when a new item is selected to graph, I would like to resort to the charts default behavior of readjusting the ticks and values to scale to the values being graphed.
Thank-you.
However, I am now getting items that are True/False and I would like to display the as either on/off, or even 1 or 0. Thus I want 2 ticks with the first tick having the value of 0 (minimum) and the second tick have a value of 1. And that is it. How can I do that?
Also, when a new item is selected to graph, I would like to resort to the charts default behavior of readjusting the ticks and values to scale to the values being graphed.
Thank-you.