change reverse line chart zindex and remove decinmals from yaxis ticks
This commit is contained in:
parent
96f2024305
commit
564e4cfd66
|
@ -280,7 +280,7 @@ D3Chart.defaultProps = {
|
|||
width: 600,
|
||||
xFormat: '%Y-%m-%d',
|
||||
x2Format: '',
|
||||
yFormat: '.3s',
|
||||
yFormat: '.1s',
|
||||
};
|
||||
|
||||
export default D3Chart;
|
||||
|
|
|
@ -358,7 +358,7 @@ Chart.defaultProps = {
|
|||
tooltipFormat: '%B %d, %Y',
|
||||
xFormat: '%d',
|
||||
x2Format: '%b %Y',
|
||||
yFormat: '$.3s',
|
||||
yFormat: '$.1s',
|
||||
layout: 'standard',
|
||||
mode: 'item-comparison',
|
||||
type: 'line',
|
||||
|
|
|
@ -489,7 +489,7 @@ export const drawLines = ( node, data, params ) => {
|
|||
.append( 'g' )
|
||||
.attr( 'class', 'lines' )
|
||||
.selectAll( '.line-g' )
|
||||
.data( params.lineData.filter( d => d.visible ) )
|
||||
.data( params.lineData.filter( d => d.visible ).reverse() )
|
||||
.enter()
|
||||
.append( 'g' )
|
||||
.attr( 'class', 'line-g' )
|
||||
|
|
Loading…
Reference in New Issue