Question

I have found this link: http://www.jfree.org/forum/viewtopic.php?f=3&t=6314

Its back in 2007 where they agree that infinity should be supported in JFreeChart.

Anyone know if it is supported or not? I need to be able to support this. Or be able to draw a line on the X axis that doesn't have an end.

Était-ce utile?

La solution

There is no general support in JFreeChart for the concept of infinity, other than that offered by Double.

The Unicode character ∞, named INFINITY (U+221E), may be used to compose a String literal. You can also render the glyph, as shown here, or obtain an outline using GlyphVector, mentioned here, or via TextLayout, illustrated here.

For additional guidance, please edit your question to include an sscce that exhibits your intended usage, e.g. title, legend, axis, annotation, label, shape, etc.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top