Skip to content

Commit

Permalink
fix(chartArea): issues/142 update interpolation default (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Nov 22, 2019
1 parent 219f3d2 commit 57af67a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ exports[`ChartArea Component should handle render displays for both data and thr
},
]
}
interpolation="catmullRom"
interpolation="monotoneX"
key="generatedid-"
name="chartArea-0-area"
style={
Expand Down Expand Up @@ -1604,7 +1604,7 @@ exports[`ChartArea Component should render basic data: data 1`] = `
},
]
}
interpolation="catmullRom"
interpolation="monotoneX"
key="generatedid-"
name="chartArea-0-area"
style={
Expand Down
2 changes: 1 addition & 1 deletion src/components/chartArea/chartArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class ChartArea extends React.Component {
return (
<PfChartArea
animate={dataSet.animate || false}
interpolation={dataSet.interpolation || 'catmullRom'}
interpolation={dataSet.interpolation || 'monotoneX'}
key={helpers.generateId()}
name={`chartArea-${index}-area`}
data={dataSet.data}
Expand Down

0 comments on commit 57af67a

Please sign in to comment.