Open kingajohanna opened 3 months ago
I'm stuck with this problem as well
Can you share the data along with the code @eulermomberger @kingajohanna
@Abhinandan-Kushwaha I updated my question.
I get exactly the same kind of error when maxValue
is set to 0 (seems a dupe of #430 which is marked as closed)
FYI, when I add a maxValue={maxValue === 0 ? 42 : maxValue}
it solves the problem (with a totally random 42 value, don't do this at home :-) )
I'm trying to add value with null or undefined (I'm using ts), but I get an error (see below), and the lineDataItem's value's type is number, so how should this interpolation work? (https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/blob/master/docs/LineChart/LineChartProps.md#interpolation)
I'm using the latest version (1.4.29)
I want to show some extra x axis label, either with some values which are null or without any value, just the x axis label
the data:
my code:
the errors:
Also I'm using typescript, and in the types, the null or undefined is not allowed for the data object's value.