ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.GridStyle Class Reference

Public Member Functions

void Render (RenderPack rp, IAxis axis, IEnumerable< Tick > ticks)
 

Properties

bool IsVisible = true [get, set]
 
LineStyle MajorLineStyle [get, set]
 
LineStyle MinorLineStyle [get, set]
 
int MaximumNumberOfGridLines = 1_000 [get, set]
 
bool IsBeneathPlottables = true [get, set]
 When set to false the grid will be rendered on top of plottables instead of beneath them.
 
Color FillColor1 = Colors.Transparent [get, set]
 Fill the region between every other pair of major grid lines with this color.
 
Color FillColor2 = Colors.Transparent [get, set]
 Fill the region between every other pair of major grid lines with this color.
 

Member Function Documentation

◆ Render()

void ScottPlot.GridStyle.Render ( RenderPack  rp,
IAxis  axis,
IEnumerable< Tick ticks 
)
inline

Property Documentation

◆ FillColor1

Color ScottPlot.GridStyle.FillColor1 = Colors.Transparent
getset

Fill the region between every other pair of major grid lines with this color.

◆ FillColor2

Color ScottPlot.GridStyle.FillColor2 = Colors.Transparent
getset

Fill the region between every other pair of major grid lines with this color.

◆ IsBeneathPlottables

bool ScottPlot.GridStyle.IsBeneathPlottables = true
getset

When set to false the grid will be rendered on top of plottables instead of beneath them.

◆ IsVisible

bool ScottPlot.GridStyle.IsVisible = true
getset

◆ MajorLineStyle

LineStyle ScottPlot.GridStyle.MajorLineStyle
getset
Initial value:
= new()
{
Width = 1,
Color = Colors.Black.WithOpacity(.1),
AntiAlias = false,
}

◆ MaximumNumberOfGridLines

int ScottPlot.GridStyle.MaximumNumberOfGridLines = 1_000
getset

◆ MinorLineStyle

LineStyle ScottPlot.GridStyle.MinorLineStyle
getset
Initial value:
= new()
{
Width = 0,
IsVisible = true,
Color = Colors.Black.WithOpacity(.05),
AntiAlias = false,
}
bool IsVisible
Definition GridStyle.cs:5

The documentation for this class was generated from the following file: