import React, { Component } from 'react'; import { Surface, CartesianGrid } from 'recharts'; export default class Demo extends Component { static displayName = 'CartesianGridDemo'; render () { let horizontalPoints = [10, 20, 30, 100, 400]; let verticalPoints = [100, 200, 300, 400]; let verticalFill=['red', '#eee']; let horizontalFill=['#eee', 'yellow']; return (
); } }