Closed jan-ai closed 2 years ago
If a chart should show positive values only, but the max limits is unknown and should not be set, the chart shows a range of -0,05 to +0,05 if data values are 0.
The reason is
SetRange(Limits.min ?? _min ?? 0.0, Limits.max ?? _max ?? 0.0);
in function Set of class Extended
Set
Extended
and the implementation of SetRange in class Position
SetRange
Position
if (min == max) { Range = ( min - 0.05, max + 0.05 ); }
this code was already removed in last version at https://github.com/jan-ai/GGNet ... can be closed
If a chart should show positive values only, but the max limits is unknown and should not be set, the chart shows a range of -0,05 to +0,05 if data values are 0.
The reason is
SetRange(Limits.min ?? _min ?? 0.0, Limits.max ?? _max ?? 0.0);
in function
Set
of classExtended
and the implementation of
SetRange
in classPosition