Articles in this section

Case Study: Chart Styling for Bar, Column, Pie, Scatter, Line and Area Charts

To style any chart, login to Zoola Analytics and open any existing chart-based Ad Hoc View and click the properties icon and choose "Chart Format..."  This will open the Chart Format dialog and you can click the "Style" tab and enter the following properties.

Chart Format

Bar and Column Charts

Example

Properties

PropertyValue
colors["#b6d399", "#f6dede", "#e3d8ca", "#ffe0bd", "#a2cbc3", "#f4f4f4", "#6897bb", "#a2cbc3", "#672edf", "#35465e", "#af5166", "#ffd296", "#d0ffc7"]
series.colorByPointfalse
series.borderWidth2
series.borderColor#c2c2c2
series.borderRadius10
plotOptions.series.dataLabels.enabledtrue
legend.alignright
legend.backgroundColor#FFFFFF
legend.borderColor#FFFFFF
legend.verticalAlignmiddle
xAxis.labels.enabledfalse
yAxis.labels.enabledfalse
legend.itemStyle{"color": "#333333", "cursor": "pointer", "fontSize": "11px", "fontWeight": "normal", "textOverflow": "ellipsis"}
plotOptions.column.dataLabels.style.fontSize11px
plotOptions.series.dataLabels.style.fontWeightnormal
xAxis.gridLineColortransparent
yAxis.gridLineColortransparent
chart.style.fontFamilyHelvetica, Verdana, Arial, Georgia, sans-serif
xAxis.lineColor#c2c2c2
legend.itemMarginBottom2
legend.itemMarginTop2

Scatter Charts

Example

Scatter Chart

Properties

PropertyValue
legend.layoutvertical
legend.alignleft
legend.verticalAligntop
legend.floatingtrue
plotOptions.scatter.marker.radius5
plotOptions.scatter.marker.symboldiamond
plotOptions.scatter.marker.states.hover.fillColor#C2C2C2
plotOptions.scatter.marker.states.hover.lineColor#000000
plotOptions.scatter.marker.fillColor#a1f78f
plotOptions.scatter.marker.lineColor#bbbcfc
plotOptions.scatter.marker.lineWidth2px
xAxis.gridLineColortransparent
yAxis.gridLineColortransparent
chart.style.fontFamilyHelvetica, Verdana, Arial, Georgia, sans-serif
chart.spacingBottom30

For Pie Charts

Example

Pie Chart

Properties

PropertyValue
colors["#b6d399", "#f6dede", "#e3d8ca", "#ffe0bd", "#a2cbc3", "#f4f4f4", "#6897bb", "#a2cbc3", "#672edf", "#35465e", "#af5166", "#ffd296", "#d0ffc7"]
series.dataLabels.enabledtrue
legend.alignright
legend.backgroundColor#FFFFFF
legend.borderColor#FFFFFF
legend.verticalAlignmiddle
legend.itemStyle{"color": "#333333", "cursor": "pointer", "fontSize": "11px", "fontWeight": "normal", "textOverflow": "ellipsis"}
chart.style.fontFamilyHelvetica, Verdana, Arial, Georgia, sans-serif
series.dataLabels.connectorColor#0000FF
series.dataLabels.distance30
series.dataLabels.format{y}
chart.style.fontSize16px
series.dataLabels.style{"color": "contrast", "fontSize": "14px", "fontWeight": "bold", "textOutline": "1px contrast" }

 

For Line and Area Charts

Example

Area Chart

Properties

PropertyValue
colors["#b6d399", "#f6dede", "#e3d8ca", "#ffe0bd", "#a2cbc3", "#f4f4f4", "#6897bb", "#a2cbc3", "#672edf", "#35465e", "#af5166", "#ffd296", "#d0ffc7"]
plotOptions.area.marker.symboldiamond
plotOptions.area.marker.fillColor#FFFFFF
plotOptions.area.marker.lineColor#5546db
plotOptions.area.marker.lineWidth2px
plotOptions.area.marker.radius5
chart.style.fontFamilyHelvetica, Verdana, Arial, Georgia, sans-serif
series.dataLabels.enabledtrue
series.dataLabels.style{"color": "contrast", "fontSize": "14px", "fontWeight": "bold", "textOutline": "1px contrast" }
series.dataLabels.padding20
xAxis.labels.rotation0
yAxis.gridLineColortransparent
xAxis.gridLineColor#FFFFFF
xAxis.gridLineWidth2px
xAxis.gridZIndex4

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.