OpenWaterFoundation / owf-app-dev-ng

Open Water Foundation Angular application to develop common libraries
0 stars 1 forks source link

Bad chart size after an error #34

Open Nightsphere opened 2 years ago

Nightsphere commented 2 years ago

If the graphTemplatePath property is given to either the Selector or Chart Widgets and there's an error reading the data (like a bad path), the Error Widget will be created and shown in the Chart Widget area.

If another item is then selected from the dropdown in the Selector Widget that has a good path, it will show the chart, but it will be extra small.

image

Selecting other items from the dropdown then shows the chart in the correct size, including the first offending chart itself.

image

I'm not sure why the size is different the first time.