Sha256: d5134e7d46414b7f5b86edbd2228f937391e326e5cbae3a53e82b12a069b30e3
Contents?: true
Size: 840 Bytes
Versions: 1
Compression:
Stored size: 840 Bytes
Contents
import { commonSettings } from "../pb_dashboard/commonSettings.js"; import typography from "../tokens/_typography.scss"; const sizeColumns = function(highchart) { let column = highchart.plotOptions.column; let series = highchart.plotOptions.series; column.borderRadius = 0; column.pointPadding = 0.3; column.groupPadding = 0.2; series.borderWidth = 0; series.shadow = false; series.pointPadding = 0.3; series.groupPadding = 0.2; }; const styleDataLabels = highchart => { let series = highchart.plotOptions.series; series.dataLabels.style.fontFamily = typography.font_family_base; series.dataLabels.style.fontSize = typography.text_small; }; const barGraphSettings = function(highchart) { commonSettings(highchart); sizeColumns(highchart); styleDataLabels(highchart); }; export default barGraphSettings;
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-2.9.3 | app/pb_kits/playbook/pb_bar_graph/barGraphSettings.js |