mkeym Posted July 9, 2010 Share Posted July 9, 2010 Hey,first of all, i would thank you, that i can create dynamical chart in TimeSeries.But now, i have other problems within TimeSeriesChart. I want to explain my problem. The Description field has several Descriptions. For example: A, B, C, D ...If the chart is generated, i got only A or B, sometimes all and sometimes only one. In database all description have values.And how can i compare ValueA and ValueB in valueExpression.I try ValueA+" "+ValueB but i think this is not correct. Thank you for help.RegardsCode:<field name="DESCRIPTION" class="java.lang.String" /><field name="HALFHOUR" class="java.lang.String" /><field name="VALUEA" class="java.lang.Double" /><field name="VALUEB" class="java.lang.Double" />-------------------------<timeSeriesDataset timePeriod="Minute"> <timeSeries> <seriesExpression><![CDATA[$F{DESCRIPTION}]]></seriesExpression> <timePeriodExpression><![CDATA[(new java.text.SimpleDateFormat("dd.MM.yyyy HH:mm")).parse($F{HALFHOUR})]]></timePeriodExpression> <valueExpression><![CDATA[$F{VALUE_A}]]></valueExpression> </timeSeries> </timeSeriesDataset> Link to comment Share on other sites More sharing options...
Recommended Posts
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