2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

chartingfrontend: fixing fill behaviour

git-svn-id: https://svn.fhem.de/fhem/trunk@4632 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
johannnes 2014-01-12 14:32:43 +00:00
parent a4906a7b90
commit 2b6b781e5a
2 changed files with 3 additions and 3 deletions

View File

@ -282,7 +282,7 @@ UPD 2014-01-12_12:09:17 5144 www/frontend/app/view/StatusPanel.js
UPD 2014-01-12_12:55:22 10486 www/frontend/app/view/Viewport.js
UPD 2014-01-12_02:42:27 21844 www/frontend/app/controller/MainController.js
UPD 2014-01-12_02:49:58 16562 www/frontend/app/controller/StatusController.js
UPD 2014-01-12_02:51:54 109250 www/frontend/app/controller/ChartController.js
UPD 2014-01-12_03:28:35 109269 www/frontend/app/controller/ChartController.js
UPD 2013-06-30_11:46:54 5415 www/frontend/app/controller/TableDataController.js
UPD 2013-04-01_07:04:35 202 www/frontend/app/model/ReadingsModel.js
UPD 2013-04-01_07:04:36 338 www/frontend/app/model/SavedChartsModel.js

View File

@ -1207,7 +1207,7 @@ Ext.define('FHEM.controller.ChartController', {
axis.fields.push(yfield);
chart.surface.addGradient({
id: 'gradientId',
id: 'gradient' + yfield,
angle: 90,
stops: {
10: {
@ -1234,7 +1234,7 @@ Ext.define('FHEM.controller.ChartController', {
fill: (styleConfig.yaxisfillcheck === "false" || styleConfig.yaxisfillcheck === false) ? false : true,
style: {
// fill: '#' + styleConfig.fillcolorhexcode,
fill: 'url(#gradientId)',
fill: 'url(#gradient' + yfield + ')',
opacity: styleConfig.fillopacity,
stroke: '#' + styleConfig.linecolorhexcode,
'stroke-width': styleConfig.linestrokewidth