Forum Discussion

FICO's avatar
FICO
Community Manager
6 years ago

How to display vdl-chart-series bars under lines

<vdl-chart>
  <vdl-chart-series type="bar" entity="mybars"/>
  <vdl-chart-series type="line" entity="mylines"/>
</vdl-chart>

The bars are defined before the lines and are shown that way in the legend, but the bar still display above (and hide) the lines. Is it possible to change this? I want the lines to be shown on the chart on top of the bars.

1 Reply

  • FICO's avatar
    FICO
    Community Manager

    Hi Alex,

    bar_and_line

    With Insight 4.53.4 I am getting the above chart with the following VDL.

    <vdl-chart>

      <vdl-chart-series entity="Quantity2"></vdl-chart-series>

      <vdl-chart-series entity="Quantity" type="line"></vdl-chart-series>

    </vdl-chart>

    Are you on a different version?