BackPrevious Page Next PageNext

Creating Motion Charts

You can make a chart move at runtime based on the value changes of a specified motion field. This type of chart is called motion chart. In a motion chart, a motion control section is added on its platform, which contains the following elements:

Motion Chart Diagram

At runtime you can use the motion control section to make the chart move. Click the play button and the chart will show its dynamic trend based on the value change of the motion field which is bound in the motion bar. To stop it, click the button again. You can also control its moving speed by dragging the slider between Slow and Fast on the speed control. For a bubble chart, you can control whether the chart will be moving in bubble or line trail.

Motion charts are not supported in page reports that are created using query resources. Meanwhile to have a better and stable performance for motion charts, you are recommended to use the Google Chrome web browser.

The following shows an example on how to create a motion chart in a web report and play it in Web Report Studio.

  1. Make sure SampleReports.cat is the currently open catalog file. If not click File > Open Catalog to open it from <install_root>\Demo\Reports\SampleReports.
  2. Click File > New > Web Report to create a web report.
  3. Click Insert > Chart. The Create Chart wizard appears.
  4. In the Data screen of the wizard, select WorldWideSalesBV from Data Source 1. Click Next.
  5. Select Bubble 2-D in the Type screen. Click Next.
  6. In the Display screen, add the group objects Product Type to the Category box and Region to the Series box.
  7. In the value box, add the aggregation objects Sum_MTotal, Total Cost and Total Sales respectively on X-Axis, Y-Axis and Size. Note when a value is added for the bubble X axis, this value will be displayed on the category axis instead of the one specified in the Category box, while the value defined in the Category box will still be included in data calculation.
  8. Check Motion Bar for Playable Chart, add the group object Sales Year as the motion field.

    Add Field for the Chart

  9. Click Finish to create the motion chart.
  10. Save the report and click View > Preview As > Web Report Result. The chart shows as follows:

    Preview the Report as Web Report Result

  11. Check the Bubbles and Lines checkboxes, and click the play button, then the value of the motion field will change, and the bubbles in the chart will move based on the value change of the motion field in line trail. See the result below, when the value of the motion field is changed to 2016, the display value of the bubble also changes accordingly.

    Motion Chart Result with Bubbles and Lines

BackPrevious Page Next PageNext