I am looking for a way to render a StackedAreaChart with splines
I guess I am after some StackedSplineAreaChart

XYSplineRenderer is doing a nice job but does not cover areas

Is there a trick to render AreaCharts with splines?

有帮助吗?

解决方案

Neither StackedAreaRenderer nor StackedXYAreaRenderer currently (JFreeChart 1.0.15) do have support for splines. The feature you are requesting is currently not supported by JFreeChart.

However, for the StackedXYAreaRenderer it shoudn't be too hard to enhance it to support splines, based on the XYSplineRenderer implementation. You would need to create your own renderer class and override the drawItem() method.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top