Disable graphborder and scalenibs

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

speciesxx
Posts: 3
Joined: Thu Nov 02, 2017 2:08 pm

Disable graphborder and scalenibs

Post by speciesxx » Thu Nov 02, 2017 2:12 pm

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!

ArctionKestutis
Posts: 383
Joined: Mon Mar 14, 2016 9:22 am

Re: Disable graphborder and scalenibs

Post by ArctionKestutis » Thu Nov 02, 2017 3:06 pm

You can disable Axis’ ScaleNibs by setting Axis.MouseScaling = false.

ArctionKestutis
Posts: 383
Joined: Mon Mar 14, 2016 9:22 am

Re: Disable graphborder and scalenibs

Post by ArctionKestutis » Thu Nov 02, 2017 3:20 pm

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.