문제

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