XYLineAndShapeRenderer Override getItemStroke Which Series is Which Row?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
gw1500se
Posts: 23
Joined: Tue Nov 21, 2017 3:36 pm
antibot: No, of course not.

XYLineAndShapeRenderer Override getItemStroke Which Series is Which Row?

Post by gw1500se » Mon Jun 14, 2021 8:05 pm

I am writing some code to override getItemStroke and need to know which series being processed on a multi-series line graph. It appears that the row argument is the key but how do I know which series is which row? Is there some other way to identify the series being processed? TIA.

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: XYLineAndShapeRenderer Override getItemStroke Which Series is Which Row?

Post by John Matthews » Sat Jun 19, 2021 1:07 am

It looks like row is the series index and column is the index within a series, for example.

Locked