Created
December 10, 2016 19:00
-
-
Save caspg/f4960da6f6588acfb151003f041c8be7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .... | |
import Axes from '../Axes' | |
// ... | |
export default class Chart extends Component { | |
//... | |
render() { | |
// ... | |
return ( | |
<svg width={svgDimensions.width} height={svgDimensions.height}> | |
<Axes | |
scales={{ xScale, yScale }} | |
margins={margins} | |
svgDimensions={svgDimensions} | |
/> | |
</svg> | |
) | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment