AdvancedCharting - NeilMacMullen/kusto-loco GitHub Wiki
In some cases you may wish to control chart visualisations directly.
Axis ordering
By default, the renderer attempts to assign columns in the query result to axes on the chart in a way that makes most sense. For example, given two numeric columns and a string column, the string column will be assumed to be the series name. Sometimes this leads to unwanted behaviour.
The scottplot.axisorder
setting can be set to explicit
to override this behaviour. When the "explicit" setting is used, columns will be used in the order x,y,series.
Color assignment
Colors are assigned from the pallette/colormap specified by scottplot.palette
. The default behaviour is for each series to be assigned a color from the palette but each point can be assigned a specific color by creating a result column named _color
. Note that when using palettes based on colormaps, the palette will contain 256 colors so use of a _color
column is required.