ScottPlot
Loading...
Searching...
No Matches
Functions
ScottPlot.Stylers Namespace Reference

Functions

class FontStyler (Plot plot)
 Helper methods for setting fonts to all components of a plot.
 
class PlotStyler ()
 

Function Documentation

◆ FontStyler()

class ScottPlot.Stylers.FontStyler ( Plot  plot)

Helper methods for setting fonts to all components of a plot.

Apply the given font name to all existing plot objects. Also sets the default font name so this font will be used for plot objects added in the future.

Detects the best font to apply to every label in the plot based on the characters the they contain. If the best font for a label cannot be detected, the font last defined by Set(string) will be used.

◆ PlotStyler()

class ScottPlot.Stylers.PlotStyler ( )