Chart component breaks if using field metadata override

Hello Skuid Community!

I have a chart that is working great, but it shows my amounts with decimals. Although I am capturing the field with this level of detail, it’s easier to read on a chart when rounded. However, if I use override the field’s metadata in my model to remove the decimals, my chart breaks and no values are shown for this field - all columns are just zero. My series does not appear to change when I toggle the metadata override on and off, but I only get results on the chart when NOT using the metadata override.

I’ve also noticed my chart will not show currency signs for data labels, even though they are present when you scroll over the chart.

Working chart:

image

Toggling to override field metadata:

Resulting ‘broken’ chart:

image

Series - unchanged despite sometimes working and sometimes not depending on the override:

Currency showing on hover, but not on data labels:

image

Does anyone have any ideas of what might be going on here? Or how I can further control the formatting of these charts?

Thanks!

Chris here are 2 responses.

  1. What version of Skuid are you running? In the current versions of the product, I’m seeing charts respond appropriately to metadata overrides of decimal places. You picture also cut off the Display Type in the metadata defintinion. Is that “Currency”

  2. You are correct about the labels not including the currency notation. We’ll take that as an improvement suggestion. In the mean time you could use the HighCharts API to roll your own data labels and include the currency notation. Its not ideal - but if you are willing to get into the code - you can probably get it done.

Hey Rob!

We are running Chicago, v14.3.1., and for this field it is simply a number. I do have another chart that uses a dollar amount and shows as a type ‘Currency’ - it doesn’t have the issue where it disappears, but it doesn’t respect the override settings either, it just remains unchanged.