# HG changeset patch # User Michiel Broek # Date 1591898370 -7200 # Node ID 89b7449d1fd9946c066e674aaf0ac33b836bd20e # Parent 4d5f3e9f77449e0709e02a1d76dfc4b5147f8b50 iSpindel graph nicer Battery display. Density in 4 decimals steps. diff -r 4d5f3e9f7744 -r 89b7449d1fd9 www/js/log_ispindel.js --- a/www/js/log_ispindel.js Thu Jun 04 13:08:10 2020 +0200 +++ b/www/js/log_ispindel.js Thu Jun 11 19:59:30 2020 +0200 @@ -79,7 +79,7 @@ seriesGroups: [ { type: 'spline', - valueAxis: { displayValueAxis: false, description: 'Densiteit SG', formatSettings: { decimalPlaces: 3 } }, + valueAxis: { displayValueAxis: false, description: 'Densiteit SG', formatSettings: { decimalPlaces: 4 } }, series: [{ dataField: 'sg', lineWidth: 3, displayText: 'SG' }] }, { @@ -89,8 +89,8 @@ }, { type: 'spline', - valueAxis: { visible: false }, - series: [{ dataField: 'battery', lineWidth: 1, displayText: 'Batterij' }] + valueAxis: { visible: false, minValue: 3.00, maxValue: 4.25 }, + series: [{ dataField: 'battery', lineWidth: 2, displayText: 'Batterij' }] } ] };