mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
adding in plot-line graph
This commit is contained in:
parent
3fbb873235
commit
23f75a5f7e
@ -29,7 +29,7 @@ const Graph = React.createClass({
|
||||
const graphTypes = [
|
||||
{
|
||||
type: 'scatter',
|
||||
mode: 'markers'
|
||||
mode: 'lines+markers'
|
||||
},
|
||||
{
|
||||
type: 'scatter',
|
||||
@ -43,6 +43,7 @@ const Graph = React.createClass({
|
||||
const graphs = graphTypes.map( (graphType, i) => {
|
||||
return (
|
||||
<Plot
|
||||
key={i}
|
||||
name={`plot-${i}`}
|
||||
xData={this.state.datatime}
|
||||
yData={this.state.cpu}
|
||||
|
Loading…
Reference in New Issue
Block a user