Jump to content
We've recently updated our Privacy Statement, available here ×

robinm_1

Members
  • Posts

    4
  • Joined

  • Last visited

robinm_1's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. For JasperServer 6.2, The timeout value of 3000 milliseconds is hard-coded in WEB-INF/lib/jasperreports-customvisualization-6.2.0.jar -> com/jaspersoft/jasperreports/customvisualization/scripts/div2svg.js Look for "SCRIPT_ERROR Script did not produce any SVG within 3 seconds. Possible script error." and adjust the "timeout: 3000" value ten lines above. However, in our case, using d3 and d3-svg-legend, increasing the timeout did not solve the issue. The only solution when building for deploying to the server was to comment out "optimize: 'none'" in the build.js file. Alternatively specifying "optimize: 'uglify' worked also. Other values for optimize lead to longer compilation and provided no discernible benefit in our tests.
  2. Thanks Lucian, your solution works, but when starting with a StackedColumn or StackedColumnLine plot, the stacking rule applies to each chart type/axis pair. An example would be two or more measures in a stacked column chart with one axis on the lefttwo ore more measures as lines with one axis on the rightSince plotOptions.stacking applies everywhere, the lines are also stacked. A workaround is to create an additional Y axis for each line since the min and max values are predetermined in our case. However, the extra (third) axis would have to be hidden. Setting yAxis.visible to false doesn't seem to have the desired effect (the axis is still visible). <hc:chartSetting name="yAxis"> <hc:chartProperty name="_jrAxisIndex"> <hc:propertyExpression><![CDATA[2]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="max"> <hc:propertyExpression><![CDATA[100]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="min"> <hc:propertyExpression><![CDATA[0]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="opposite"> <hc:propertyExpression><![CDATA[true]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="title.text" value=""/> <hc:chartProperty name="visible"> <hc:propertyExpression><![CDATA[false]]></hc:propertyExpression> </hc:chartProperty> </hc:chartSetting>[/code]We can fall back to a regular multi-axis chart but is there a way to achieve the desired result with HTML5 charts?
  3. Mariano suggests that it's possible to assign a specific measure to the line series for multi-axis charts. "In that chart type the last measure is always the line (you can change this in the advanced properties if you want)" -http://community.jaspersoft.com/questions/843913/jasper-multi-axis-report-high-chart ​Is there an example/documentation for this? Can multiple measures be assigned as lines to the secondary axis and if so how?
×
×
  • Create New...