I have this chart with CategoryXAxis` as X and **NumericAxis as Y. I update its IohlcDataseries with new prices for creating a live chart. I also added a HorizontalLineAnnotation on Y-Axis to point to the current price. The problem is when chart auto-scales on Y-axis it only tries to cover price data and not the Line annotation, and its label is half visible.
The behavior that you described ( when AutoRange on axis includes annotations placed in chart ) isn’t available out of the box. However you can implement it on your own by creating custom ViewportManager for chart and modifyng VisibleRange of axis to include desired annotation. Or you can just add some GrowBy to chart.
Hope this will help you!
Please login first to submit.