SharpPlot Tutorials > Style Examples > Relative data Relative data
Data is assumed to be relative, so the series values are accumulated as each series is plotted.
sp.DataStyle = DataStyles.Relative;
This is the default style for stacked or floating barcharts but must be set explicitly for shaded surfaces on LineGraphs. It may be used in any other chart to have the series summed.
See also ...SharpPlot Members | DataStyles Enumeration
Send comments on this topic © Dyalog Ltd 2021
|