
When I generate the timeSeriesChart in pdf file, there is always one wrong line on the timeSeriesChart. I am sure that my data source is correct. But the line is wrong. Because when I set the isShowLines="false" isShowShapes="true", It shows correctly. When I set isShowLines="true" isShowShapes="false", the line is wrong.
I have marked the wrong part as red in the attached screenshot.
Detail code:
"集群作业分析"
new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{timeseriesDS})
$F{series}
$F{time}
new Double($F{value})
]]></timeAxisLabelExpression></p><p> </p><p> <timeAxisFormat></p><p> <axisFormat tickLabelMask="yyyy-MM-dd HH:mm" verticalTickLabels="true"></p><p> <labelFont/></p><p> <tickLabelFont/></p><p> </axisFormat></p><p> </timeAxisFormat></p><p> <valueAxisLabelExpression><
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now