'change .recharts-surface in recharts graph
for mt custom svg to fit into the graph , i need to change the .recharts-surface style.
how do i do that ? cant find it anywhere...
tried to just add it to the added css file, but no use:
.recharts-surface{
height: 450px !important;
}
my recharts graph is as follows:
<ResponsiveContainer width={width} height={height} className={styles.graph}>
<ComposedChart style={{height: '450px'}} height="100%">
<xAxis ... />
<yAxis ... />
<cartesianGrid ... />
</ComposedChart
</ResponsiveContainer>
thnx alot
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
