Rotation for jfree chart
-
- Posts: 5
- Joined: Mon Oct 03, 2016 5:33 am
- antibot: No, of course not.
Rotation for jfree chart
Anybody has idea how to rotate wafermap chart by 90 degree. I want to achieve rotation at 0,90, 270 and 360 degree on button click event.
-
- Posts: 513
- Joined: Wed Sep 12, 2007 3:18 pm
Re: Rotation for jfree chart
One approach would be to create an instance of WaferMapDataset for each desired rotation. The button's handler could then select the next dataset and invoke the setDataset() method of WaferMapPlot. This will cause the the listening plot to update itself. Note that 0 and 360 would be identical; you may have meant 0, 90, 180 and 270.