Open sagarc91 opened 5 years ago
I wants to render graph like above.
I actually need this too and had planned to do it if time allows on my project. I think you'd have to try to use the d3-shape
area curve
function. Not sure about this but that'd be how I'd first go at it. You'd need to apply it here and in the standard bars: https://github.com/JesperLekland/react-native-svg-charts/blob/dev/src/stacked-bar-chart.js#L86
is this possible now?
What is the problem?
I wants to create a stackbarchart. I am new to react-native. I am using react-native svg charts for creating stackbarchart. I am not able to make curve at the end of stackbar also not able to make labels on stackbar.
What platform? iOS 11.4
React Native version: 0.56
Code to reproduce
import React, {Component} from 'react'; import {Platform, StyleSheet, View, Text} from 'react-native'; import { VictoryBar, VictoryStack } from "victory-native"; import { BarChart, Grid, YAxis, StackedBarChart } from 'react-native-svg-charts' import * as scale from 'd3-scale'
export default class App extends React.PureComponent {
}