You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to retrieve the color key for a chart to apply to a bunch of other charts. When I use dw_retrieve_chart_metadata, it returns all visualization parameters except for color-category. It appears empty. The same thing happens when I download the metadata via CLI and read the JSON into R.
Any suggestions for a fix is appreciated!
The text was updated successfully, but these errors were encountered:
You mentioned that you experience the same behavior when downloading via the CLI. Is there any color-category data included in the return from the API at all? This might indicate a flaw with the API.
As far as I recall, there was no color-category data included in the return from the API. I was working with bar charts, not choropleth maps, so I'm not sure if this translates to other viz types.
I was able to test this using one of the example datasets. I had to set all colors manually to enable the color-category by switching on Customize colors in the Refine -> Appearance dialogue in Visualize.
This chart results in the correct data being returned from dw_retrieve_chart_metadata():
Hello,
I'm trying to retrieve the color key for a chart to apply to a bunch of other charts. When I use dw_retrieve_chart_metadata, it returns all visualization parameters except for color-category. It appears empty. The same thing happens when I download the metadata via CLI and read the JSON into R.
Any suggestions for a fix is appreciated!
The text was updated successfully, but these errors were encountered: