Open budwol opened 10 months ago
I tried:
<Svg ref = {this.props.svgRef}> <LineChart /> </Svg> ... onPress={() => { svgRef.current?.toDataURL((base64) => { console.log(base64); );
but the base64 just contains an empty image.
the graph i want to get as svg or png looks like this:
can anyone help?
I tried:
but the base64 just contains an empty image.
the graph i want to get as svg or png looks like this:
can anyone help?