After updating to the latest master I have the following php error displayed above all bar graph charts. This happens on both dashboards and when viewing a bar graph through the visualizations menu.
Notice: Undefined index: colour in/var/www/emoncms/Modules/vis/vis_controller.php on line 111
Any ideas as to why? Nothing else has changed as far as I'm aware.
Thanks.
Re: Bar graph php error
Color options are not handled well in that portion of code. I've rewritten these lines like this:
Type 9 options (colours) weren't included inside $array (with get($key)), and I've also replaced a direct "==" comparison with a preg_match call, so options with "colour" as a prefix instead of full name are processed too. I'm not really sure why it hasn't failed since today (this code is quite a few months old), but anyway I've committed this changes to my fork and everything is working fine, so if nobody has fixed it yet tomorrow morning, I'll send a pull request to emoncms main repository.
[Formatting fixed]