Jump to content

timeSeriesChart & labelExpression


nahvii

Recommended Posts

I am trying to do hover/mouse over value display using JasperReports 3.6 templates and JFreeCharts.

I thought the following  would work

               <timeSeriesChart>

                   ................

                   <timeSeries>
                            <seriesExpression><![CDATA["Volts"]]></seriesExpression>
                            <timePeriodExpression><![CDATA[$F{TIME}]]></timePeriodExpression>
                            <valueExpression><![CDATA[$F{ALARM_VALUE}]]></valueExpression>
                            <labelExpression><![CDATA[""+$F{ALARM_VALUE}]]></labelExpression>
                        </timeSeries>

                       ...........

                   </timeSeriesChart>

 

But the schema reference says that labelExpression only works in pieDataSet & pisSeries.

Does anyone know how to do mouse/hover over value display in a time series chart?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...