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.- Use a standard ScottPlot palette name.
- A standard ScottPlot colormap name. See advanced charting for further details.
- A custom palette, defined using the syntax
"#12abf3 #76f42e ..."
scottplot.figurebackground.color
Sets the figure backgroundscottplot.databackground.color
Sets the data area backgroundscottplot.axes.color
Set axis line colorscottplot.majorlinecolor
Sets the major line/tick colorscottplot.legend.backgroundcolor
Sets the background color for the legendscottplot.legend.fontcolor
Sets the font color for the legendscottplot.legend.outlinecolor
Sets the outline color for the box containing the legendscottplot.legend.fontsize
Sets fontize for legendscottplot.legend.placement
Controls the legend placement. Legends can either be placed outside an edgeleft,right,top,bottom
or inside the plot with the alignment specified. Egupperright 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