LogAbs scale type

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

Posts: 61
Joined: Thu Apr 10, 2014 1:50 pm

LogAbs scale type

Post by jrvdboom » Wed May 27, 2015 2:22 pm

The only available scale types for X/Y axes are Linear and Logarithmic. When using Logarithmic scale type, values below the LogZeroClamp are clipped. What I would like to have is a LogAbs scale type, where negative values are drawn positive. I could of course create my series with absolute values, but then switching between Linear and LogAbs scale type will not work, because the Linear scale type will also draw absolute values.

Any ideas how to solve this?



Re: LogAbs scale type

Post by ArctionJari » Thu May 28, 2015 9:36 am

Unfortunately there's no built-in logic for this. If you don't have a lot of data you could use two series; one for logarithmic and one for linear. Or maybe add some sort of indexing array that tells at which data array index a value should be converted to absolute or back when you switch the scale type.