influxdata/giraffe

Gauge Crashes when no gaugePosition is provided

asalem1 opened this issue · 1 comments

Messed around on a query in notebook and selected the Gauge visualization type as a default only to end up with a broken pipe. Obviously, the UI can be a bit more compliant with the API that's provided, but the API should also set a default if none is provided? Who knows. Here's the console output:

Screen Shot 2022-02-15 at 4 45 52 AM

Screen Shot 2022-02-15 at 4 46 00 AM

This is still an issue on Notebooks and Data Explorer. It looks like the passed in value is being used to determine the gaugePosition, but I'm not seeing (based on the yml) any place for a value to be set on the Gauge / Plot / Config for the Plot. If anyone wants to reproduce this on remocal, building a query with the query builder (without a default aggregate type) with the _tasks bucket and the Gauge as the visualization should get you there