Jump to content
Changes to the Jaspersoft community edition download ×

Add Variable to <thermometerChart> <ThermometerPlot> <dataRange> <highExpression> <![CDATA[xxx]


mike.atkinson

Recommended Posts

I am using the Basic Element Chart - Thermometer Chart.

I would like to assign the  dataRange , lowRange , mediumRange , and highRange expression values with a formula based variables for a query into the database.

For the chart, I am using the LoggedInUsername to pull a goal value.

I'd like the thermometer chart to be like

  • x * 1.2 = dataRange
  • x * 1 = mediumRange > < high expression
  • x * 0.5 - lowRange > < high expression.
  • etcetera

My challenge is, when I update the <thermometerPlot>  < dataRange> < highExpression>  to  <![CDATA{$V{myDataRangeMax}]]>, the report errors.

I have not been able to get the variable "visible" in the plot.

Any Suggestions are appreciated.

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...