FusionCharts Suite XT allows you to configure the cosmetic and functional aspects of a step line chart.
In this section, you will be shown how you can:
Hide vertical lines from the chart
Use forward steps in the chart
Hiding Vertical Lines from the Chart
By default, the step line chart displays the vertical joins - vertical lines that run through the edges of the horizontal planes thereby joining them into different steps. However, you can also disjoin the horizontal segments by hiding the vertical lines from the chart.
A step line chart rendered without the vertical joins looks like this:
Given below is a brief description of the attribute used to hide the vertical joins:
Attribute Name | Description |
---|---|
drawVerticalJoins |
It is used to specify whether the vertical joins that connect horizontal planes will be shown. Setting this attribute to 0 will hide the vertical lines, setting it to 1 (default) will show them. |
The data structure needed to hide the vertical joins is given below:
Using Forward Steps
For a step line chart, you can configure the direction of progression of the line segments. By default, the chart is rendered in the forward progressive mode - the line plots are horizontally depicted and then vertical lines are drawn to connect the data plots.
A step line chart rendered with the forward progressive mode disabled looks like this:
Compare this chart with the step line chart shown above and see the difference in how each is rendered.
Given below is a brief description of the attribute used to enable/disable the forward progressive mode:
Attribute Name | Description |
---|---|
useForwardSteps |
It is used to specify whether the chart will be rendered in the forward progressive mode. Setting this attribute to 0 will disable the forward progressive mode, setting it to 1 (default) will enable it. |
The data structure needed to disable the forward progressive mode is given below:
There! You have now seen how you can configure a step line chart.