SharpPlot Tutorials > Style Examples > Rounded corners

Rounded corners

You can round off the corners of the chart frame, the key box and any boxed notes.

sp.KeyStyle = KeyStyles.Boxed|KeyStyles.Rounded;
sp.NoteStyle = NoteStyles.Boxed|NoteStyles.Rounded;

You may need to increase the chart margins if you use a rounded frame.

See also ...

SharpPlot Members | SharpPlot.FrameStyle Property | SharpPlot.KeyStyle Property | SharpPlot.NoteStyle Property | SharpPlot.TableStyle Property

Send comments on this topic
© Dyalog Ltd 2020