HighCharts Report Styling

How to adjust Global HighCharts report styling

Overall, the base report styling in Knack is pretty bland. Knack uses a HighChartsarrow-up-right integration, an interactive JavaScript reporting tool to supply its Report views.

A light blue report background and a more defined plot transparency and border

The JS

The code allows us to modify the global setOptions styling specified in the HighCharts documentationarrow-up-right. We can customize the report container and the plot by adjusting color, shadow, and borders. This allows our reports to look more well-defined and bring attention to the data being displayed.

The CSS

See Report Element Colorsarrow-up-right to style individual reports and elements

How to Implement

Remember these global options apply to all reports. We use them to apply a consistent look and feel that is more readable to our users or alternatively, more thematic to the application colors or content.

Last updated

Was this helpful?