-
Notifications
You must be signed in to change notification settings - Fork 25
ScottPlot Chart customisation
Neil MacMullen edited this page Sep 13, 2025
·
12 revisions
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.axisordercontrols how columns are transformed to axes. See advanced charting for further details. -
scottplot.paletteSets 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.colorSets the figure background -
scottplot.databackground.colorSets the data area background -
scottplot.axes.colorSet axis line color -
scottplot.majorlinecolorSets the major line/tick color -
scottplot.legend.backgroundcolorSets the background color for the legend -
scottplot.legend.fontcolorSets the font color for the legend -
scottplot.legend.outlinecolorSets the outline color for the box containing the legend -
scottplot.legend.fontsizeSets fontize for legend -
scottplot.legend.placementControls the legend placement. Legends can either be placed outside an edgeleft,right,top,bottomor 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.
Note these settings may cause rendering artefacts
scottplot.axes.bottom.label.fontsizescottplot.axes.left.label.fontsizescottplot.axes.bottom.label.rotationscottplot.axes.left.label.rotationscottplot.axes.bottom.ticklabelstyle.rotationscottplot.axes.left.ticklabelstyle.rotationscottplot.axes.bottom.ticklabelstyle.fontsizescottplot.axes.left.ticklabelstyle.fontsize
See the chart-demo project in the tutorials folder.
#Home
Core Engine
Lokqldx (UI data explorer)
- Introduction
- Tutorials
- Running queries and commands
- Autocompletion
- Generating powerpoint reports
- Accessing ApplicationInsights data
Powershell
Other
Articles