Skip to content

Commit

Permalink
fix(playground): Recharts extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Oct 2, 2019
1 parent 59dc5ce commit 950541c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cubejs-playground/src/libraries/recharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const chartTypeToTemplate = {
return (<Line
stackId="a"
dataKey={series.key}
name={series.title.split(",")[0]}
name={series.title}
stroke={colors[i]}
/>)
})}
Expand All @@ -18,7 +18,7 @@ const chartTypeToTemplate = {
return (<Bar
stackId="a"
dataKey={series.key}
name={series.title.split(",")[0]}
name={series.title}
fill={colors[i]}
/>)
})}
Expand All @@ -29,7 +29,7 @@ const chartTypeToTemplate = {
return (<Area
stackId="a"
dataKey={series.key}
name={series.title.split(",")[0]}
name={series.title}
stroke={colors[i]}
fill={colors[i]}
/>)
Expand Down

0 comments on commit 950541c

Please sign in to comment.