有没有办法改变在JasperReports图表中的形状大小? [英] Is there a way to change the shape size in a JasperReports chart?

查看:244
本文介绍了有没有办法改变在JasperReports图表中的形状大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个基于时间序列的图表,时间 - >双精度值。图表至少包含230点。如果我使用显示行选项,图表不显示任何行。如果我取消选择显示形状,则昵称消失,但没有数据所在的点。

I'm building a Time series based chart that graphs Time -> double value. The chart contains at least 230 points. If I use the "show lines" option the graph doesn't display any lines. If I disselect the "show shapes" the shames disappear, but there are no dots to where the data is.

如何将图表中的形状更改为圆形?

How would I change the shapes in the chart to a circular point?

推荐答案

我'd override the renderer's getItemShape() 方法或调用 setSeriesShape() 。有一个示例此处 ShapeUtilities 也很方便。

I'd override the renderer's getItemShape() method or invoke setSeriesShape() as required. There's an example here. ShapeUtilities is handy, too.

这篇关于有没有办法改变在JasperReports图表中的形状大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆