Integer scaling on XYDoubleAxis?

Charts for WPF Forum

Posted 6 months ago by Colin H
Version: 20.1.1
Avatar

I have an XYChart (bargraph) where the Y values are in fact integers. The only property I'm setting on the Y axis is the Minumum.

Consider a Y value of 8. I'm not too bothered about the how axis autoscaling is done (though a max of 10 might be thought of as neater), nor where the minor/major ticks are placed as a result. The trouble is though that, depending on resizing the form, the Major Tick intervals are sometimes shown as non integers.

Is there an 'easy' way (ideally built-in) to force the Major Ticks to be integer?

Comments (1)

Posted 5 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Colin,

For questions like this, we really would need to be able to see what you see so that we can debug the scenario here.  Can you give us code that we can paste in one of our samples that would reproduce this?  Then we will make sure that our reply properly answers your question.  Thanks!


Actipro Software Support

The latest build of this product (v21.1.2) was released 19 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.