bartbutenaers / node-red-contrib-ui-heatmap

A Node Red node to show a heat map
Apache License 2.0
7 stars 5 forks source link

Specify grid size dynamically #4

Closed greyser83 closed 3 years ago

greyser83 commented 3 years ago

image Hi Bart! Please, tell if there is any chance to specify grid size by msg objext values.

bartbutenaers commented 3 years ago

Hi @greyser83, This feature is not available yet, but after a quick look at the code I 'think' it is not a big change. So assume that (besides msg.payload) there will also be an msg.rows and msg.columns that override the config screen settings. That is not really 100% like the Node-RED convention works, but I don't have much time to spend on this feature.. Bart

greyser83 commented 3 years ago

Ok, Bart, thanks. Please, suggest this issue as а request of a feature.

bartbutenaers commented 3 years ago

@greyser83, With the Github version you can now specify ´msg.rows´ and msg.columns in the input messages. You can install this version by executing following command from within your .node-red folder:

npm install bartbutenaers/node-red-contrib-ui-heatmap

Would be nice if you could test it, before I publish it on NPM.

greyser83 commented 3 years ago

Hallo, Bart! It works now, thank you!

bartbutenaers commented 3 years ago

Hi @greyser83, This feature has been published on npm now, in version 2.2.0. Thanks for testing!! Bart