Creats an instance of HighChart with a Behavior-UI customized configuration.
Be sure to include Behavior-UI's
chart.less in your build.
In addition to the chart files in Behavior-UI, you will also need the behavior-ui fork of HighStock. Presently, only
highstock.src is patched; that's all you need.
basic configuration. You only really have to pass in a
url option or the data itself. Here's what that looks like:
<div data-behavior="Chart ToSource" class="chart" data-chart-options=" 'plotLineWidth': 100, 'url': '/sandbox/chart/three_lines' " data-tosource-target="!.example-block .response"></div>
This same configuration can be given a series selector by switching behaviors to
<div data-behavior="Chart.Stock ToSource" class="chart" data-chart-stock-options=" 'url': '/sandbox/chart/three_lines' " data-tosource-target="!.example-block .response"></div>