This packages adjust Highcharts to jquery-bootstrap regarding StyleSheet and settings (language, date format, timezone, numerical format etc.).
It also adjust default options for Highcharts
To have a Highcharts chart styled similar to the styling of jquery-bootstrap regarding elements (buttons, menus, titles) a new chart-options and a new global variable are created:
To have a single chart using jquery-bootstrap styles, set options useJBStyle: true
in the chart-options for the chart
{
chart: {
useJBStyle: true,
...
},
...
}
To enable or disable the use of jquery-bootstrap styling for all charts in an application a global variable is defined
window.Highcharts.USE_JB_STYLE = true/false/STRING //Default = "only if useJBStyle = true"
Posible values
-
`true `: Allways. Force `options.chart.useJBStyle = true`
-
`false`: Never.
-
`STRING`: Individuel for each chart: Only if `options.chart.useJBStyle = true`
bower install https://github.com/FCOO/jquery-bootstrap-highcharts.git --save
http://FCOO.github.io/jquery-bootstrap-highcharts/demo/
The following (known) issues need to be fixed:
- Axis labels in Waterfall do not work with
{da:"...", en:"..."}
Title
for buttons in range-selector do not work with{da:"...", en:"..."}
- No color-scale on Speedometer
This plugin is licensed under the MIT license.
Copyright (c) 2019 FCOO
Niels Holt [email protected]