Hey gooddata team, I am facing some issues while u...
# gooddata-cloud
a
Hey gooddata team, I am facing some issues while using components like BarChart and ColumnChart, the resulting visualization keeps on loading and no result is there. My sdk versions
Copy code
"@gooddata/sdk-backend-spi": "^10.24.0",
    "@gooddata/sdk-backend-tiger": "^10.24.0",
    "@gooddata/sdk-model": "^10.24.0",
    "@gooddata/sdk-ui": "^10.24.0",
    "@gooddata/sdk-ui-all": "^10.24.0",
    "@gooddata/sdk-ui-ext": "^10.24.0",
My code implementation, I am using measures and attributes from the drill context of an insightview. I have also tried catalog approach but the results are same
Copy code
<ColumnChart
                backend={backend}
                workspace={localStorage.getItem('workspace_id') || ''}
                measures={drillEvent?.dataView?.definition?.measures}
                // filters={drillFilters}
                viewBy={[...drillEvent?.dataView?.definition?.attributes]}
              />
m
Hi Ayush, thank you for this. First of all, please be aware you are not using the last version of SDK, it is a best practice to have them updated. Now, in order to reject the problem is the drillEvent or how you are passing the variables. Can you try to render the ColumnChart with the simplest definition, like:
Copy code
<ColumnChart
  backend={backend}
  workspace=<workspace_id_string>
  measures={[Md.fact_id]}
  viewBy={Md.attribute_id}
/>
Or similar. Are you synchronising the metadata?
My apologies, I missed the part of 'Catalog approach', I assume that is what answer my previous question. In that case, can you please share with us more context or the complete file you are using? Please, feel free to use DM.