Page 1 of 1

Disable graphborder and scalenibs

Posted: Thu Nov 02, 2017 2:12 pm
by speciesxx
hi all,

I am using charts for WPF and I wonder how I can fully disable:
- graph view border (I can set the color through chartView.GraphBorderColor) but I cannot find where I can set the thickness to 0 (note: this is not _chart.BorderThickness)
- scalenibs (I can set the size to (0,0) but there is still 1 pixel visible :( )

Thanks in advance!

Re: Disable graphborder and scalenibs

Posted: Thu Nov 02, 2017 3:06 pm
by ArctionKestutis
You can disable Axis’ ScaleNibs by setting Axis.MouseScaling = false.

Re: Disable graphborder and scalenibs

Posted: Thu Nov 02, 2017 3:20 pm
by ArctionKestutis
It is not possible to set GraphBorder width - it is fixed to 1.
If you don't want to see it, make chart.View.GraphBorderColor transparent. If you want thicker, you could create rectangle Annotation (with borders), which extend over all graph area.