|
SharpPlot Reference > SharpPlot Properties > EquationStyle Property SharpPlot.EquationStyle Property
When the equation of a curve is written on the line (chart style ModelFit+AnnotateModel) the default is to place it above the curve, at the right-hand end. The placement and appearance can be modified with this property.
public EquationStyles EquationStyle {get; set;}
Example
sp.EquationStyle = EquationStyles.Middle;
Options
| Absolute | Position is interpreted in points | | AtEnd | Outside the line at the right-hand end | | Below | Below the line | | ForceOrigin | Force fitted line through the origin | | Left | Left end of fitted line | | LinearFit | Force a linear equation even if we have logarithmic axes | | Middle | Middle of fitted line | | Opaque | Opaque background to text | | Percentage | Position is interpreted in percentage of axes | | SpanData | Fitted line spans data range, not X-axis | | Straddle | Straddling the line |
See also ...Annotate Model fit | SharpPlot Members | SharpPlot.Equation Property (ReadOnly) | SharpPlot.EquationIndex Property | SharpPlot.SetEquationPosition Method
Send comments on this topic © Dyalog Ltd 2021
|