I want to ask a question

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: I want to ask a question

Post by paradoxoff » Thu Jun 21, 2018 5:23 pm

I assume that your x axis is a NumberAxis. Call

Code: Select all

NumberAxis.setAutoRangeIncludesZero(false)

Locked