ScottPlot Chart customisation - NeilMacMullen/kusto-loco GitHub Wiki

Scottplot charts can be customised using a number of different settings.

See this page for instructions on how to change settings in LokqlDx or this page if you are consuming the libraries from code.

For settings that modify colors, the color format should be specified with standard HTML format, e.g. #BA216C

  • scottplot.axisorder controls how columns are transformed to axes. See advanced charting for further details.
  • scottplot.palette Sets the name of the color palette.
  • scottplot.figurebackground.color Sets the figure background
  • scottplot.databackground.color Sets the data area background
  • scottplot.axes.color Set axis line color
  • scottplot.majorlinecolor Sets the major line/tick color
  • scottplot.legend.backgroundcolor Sets the background color for the legend
  • scottplot.legend.fontcolor Sets the font color for the legend
  • scottplot.legend.outlinecolor Sets the outline color for the box containing the legend
  • scottplot.legend.fontsize Sets fontize for legend
  • scottplot.legend.placement Controls the legend placement. Legends can either be placed outside an edge left,right,top,bottom or inside the plot with the alignment specified. Eg upperright vertical
  • scottplot.scatter.markersize - controls the marker size for scattercharts. A Value of 5..20 is suggested.
  • scottplot.line.linewidth - controls the width of lines in linecharts.
  • scottplot.line.markersize - controls the marker size for linecharts.

Experimental settings

Note these settings may cause rendering artefacts

  • scottplot.axes.bottom.label.fontsize
  • scottplot.axes.left.label.fontsize
  • scottplot.axes.bottom.label.rotation
  • scottplot.axes.left.label.rotation
  • scottplot.axes.bottom.ticklabelstyle.rotation
  • scottplot.axes.left.ticklabelstyle.rotation
  • scottplot.axes.bottom.ticklabelstyle.fontsize
  • scottplot.axes.left.ticklabelstyle.fontsize