@ausbom/charts

Provides examples on how Highcharts can be used to display consistent and engaging charts.

Usage no npm install needed!

<script type="module">
  import ausbomCharts from 'https://cdn.skypack.dev/@ausbom/charts';
</script>

README

@ausbom/charts

Provides examples on how Highcharts can be used to display consistent and engaging charts.

Installation

npm install @ausbom/charts

Usage

import { highchartsTheme } from '@ausbom/charts'
import HighCharts from 'highcharts'

// Tell highcharts about the theme
HighCharts.setOptions(highchartsTheme)

Highcharts.chart("#my-chart", {
  // your chart config, this config will overide the bom theme
  chart: {
    type: 'column',
  },
  ...
})