Jesper Lekland

Results 21 comments of Jesper Lekland

Don't know what `item.title` is but I'm pretty sure it's not something the `XAxis` can layout. Have a look over at the [examples repo](https://github.com/JesperLekland/react-native-svg-charts-examples). Using `scaleBand` means you can almost...

I'm pretty sure this is a scale issue, I'll resolve this in the next release

What you could try to do is to remove the dependency of `d3-scale` from your package.json. `react-native-svg-charts` already depends on it and therefore it should already be in your node_modules...

@flashimxd What version of `d3-scale` are you using? Are you using the one bundled with the library or have you a dependency of your own?

@flashimxd I highly doubt it. The one bundled is `^1.0.6` See [package.json](https://github.com/JesperLekland/react-native-svg-charts/blob/8961ad914336d2f649cc9027be81f421f0df2375/package.json#L50) for yourself

@gagso you're not supposed to have in it your `package.json` at all, it comes bundled with the library. The upcoming version will export its own `scale` to remedy this confusion.

You not supposed to try with any version. Remove it completely from your package.json. `react-native-svg-charts` will automatically install `d3-scale` into your `node_modules` It was obviously a mistake from my part...

@gagso not sure if you're using `yarn` or `npm` but `yarn` makes sure that a dependency of `react-native-svg-charts`, eg `d3-scale` is installed as a dependency of your project. You should...

You need to combine a LineChart and an AreaChart without a `stroke`

Good suggestion. The real question is, when would you need this? The only real use case I can think of is when you need, as you called them, "in-between" values,...