Sha256: 7fd6c36e8d00666cc0d31e3039112661636f78191518288423e0cac3459024fe
Contents?: true
Size: 879 Bytes
Versions: 293
Compression:
Stored size: 879 Bytes
Contents
import { commonSettings } from '../pb_dashboard/commonSettings.js' import typography from '../tokens/_typography.scss' const sizeColumns = function(highchart) { const column = highchart.plotOptions.column const series = highchart.plotOptions.series column.borderRadius = 0 column.pointPadding = 0.3 column.groupPadding = 0 series.borderWidth = 0 series.shadow = false series.pointPadding = 0.25 series.groupPadding = 0 } const styleDataLabels = (highchart) => { const series = highchart.plotOptions.series series.dataLabels.style.fontFamily = typography.font_family_base series.dataLabels.style.fontSize = typography.text_small series.dataLabels.style.fontWeight = typography.bold } const barGraphSettings = function(highchart) { commonSettings(highchart) sizeColumns(highchart) styleDataLabels(highchart) } export default barGraphSettings
Version data entries
293 entries across 293 versions & 1 rubygems