|
@ -19,7 +19,7 @@ function DataAxis (body, options, svg, linegraphOptions) { |
|
|
orientation: 'left', // supported: 'left', 'right'
|
|
|
orientation: 'left', // supported: 'left', 'right'
|
|
|
showMinorLabels: true, |
|
|
showMinorLabels: true, |
|
|
showMajorLabels: true, |
|
|
showMajorLabels: true, |
|
|
icons: true, |
|
|
|
|
|
|
|
|
icons: false, |
|
|
majorLinesOffset: 7, |
|
|
majorLinesOffset: 7, |
|
|
minorLinesOffset: 4, |
|
|
minorLinesOffset: 4, |
|
|
labelOffsetX: 10, |
|
|
labelOffsetX: 10, |
|
@ -30,12 +30,12 @@ function DataAxis (body, options, svg, linegraphOptions) { |
|
|
alignZeros: true, |
|
|
alignZeros: true, |
|
|
left:{ |
|
|
left:{ |
|
|
range: {min:undefined,max:undefined}, |
|
|
range: {min:undefined,max:undefined}, |
|
|
format: function (value) {return value;}, |
|
|
|
|
|
|
|
|
format: function (value) {return ''+value.toPrecision(3);}, |
|
|
title: {text:undefined,style:undefined} |
|
|
title: {text:undefined,style:undefined} |
|
|
}, |
|
|
}, |
|
|
right:{ |
|
|
right:{ |
|
|
range: {min:undefined,max:undefined}, |
|
|
range: {min:undefined,max:undefined}, |
|
|
format: function (value) {return value;}, |
|
|
|
|
|
|
|
|
format: function (value) {return ''+value.toPrecision(3);}, |
|
|
title: {text:undefined,style:undefined} |
|
|
title: {text:undefined,style:undefined} |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|