Search found 3 matches

by apaz
Thu Jul 04, 2019 4:57 am
Forum: JFreeChart
Topic: A host of questions, two easy and one very hard
Replies: 6
Views: 2992

Re: A host of questions, two easy and one very hard

The documentation for getSeriesStroke says that it should never return null. I even manually set that flag on the renderer, and it's still returning null. Not sure what's up with that. So eventually decided "Screw it, I'll just set the first fifty." I still don't know how to get how many series that...
by apaz
Mon Jul 01, 2019 10:11 pm
Forum: JFreeChart
Topic: A host of questions, two easy and one very hard
Replies: 6
Views: 2992

Re: A host of questions, two easy and one very hard

I removed the offending line, and it's fixed now. All good. The renderer was probably an instance of DefaultCategoryItemRenderer, but I replaced the code with this, and the resulting graph is still the same. I have a main function testing it with a BarChart and a Linechart. Hello is printed twice as...
by apaz
Mon Jun 03, 2019 4:08 am
Forum: JFreeChart
Topic: A host of questions, two easy and one very hard
Replies: 6
Views: 2992

A host of questions, two easy and one very hard

I'm trying to write a wrapper library that will let me use JFreeChart easier with my Discord bot. It's almost completely done, I've just run into a couple of snags. Here's a google drive folder with some images of the charts that I'm working on. https://drive.google.com/drive/folders/1Ubbp7Bw6dWzM4G...