Sandbox: JavaScript

Less Component Required

Be sure to include Behavior-UI's chart.less in your build.

JavaScript Library Required

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 Usage

<div data-behavior="Chart ToSource" class="full-width chart" data-chart-options="
  'xAxis': {
    'type': 'linear',
    'minRange': 1,
    'title': {
      'text': 'Columns'
  'data': {
      'text':'Some Sort of Measurement'
  " data-tosource-target="!.example-block .response"></div>