SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Hello

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.

Version
3.x
  • You must to post comments
0
0

Hi there,

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!

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.