Closed flokwm closed 4 years ago
Hi Flo,
I wasn't able to exactly recreate your issue, but I did find an underlying problem with the chart if there is missing data in the first row that has been fixed. Please try the updated code and let me know if your issue is persisting. If it is, please update with detailed steps to replicate.
Thanks, Ryan
Hi Ryan, Thanks for the updated code, have tried it however the issue persists. I have attached the detailed steps in the word document for your reference.
Thanks, Flo
Hi Ryan, Were you able to replicate this issue?
Thanks, Flo
Hi Flo,
Sorry for the delay getting back to you. I was unable to replicate your issue, but I have a couple ideas from your document as to what the issue may be.
First, the brush column should not be an explicit column in your dataset. This column is generated by VA when you create a linked selection (not a filter) action from the button bar to the data-driven content object. In order to create the variable view stacked bar chart in your report you should:
Second, I noticed that your Group By Category variable (txt_design_config) had parenthesis in it. I'm not sure if D3 will properly select elements with parenthesis in the ID tag because it uses CSS notation for selections. I would try removing the parenthesis and replacing them with hyphens or underscores if you are still having issues after following the steps above.
Thanks, Ryan
Hi Ryan,
Thanks for your reply. Can I confirm if I was supposed to use the Stacked bar with or without the Brush variable? It seems to work without the Brush variable. d3 testing result.docx
To confirm, you should not assign the brush column explicitly in VA. This column is instead created via the linked selection from the button bar. Since everything is working, I am going to close this issue now. Please reach out if you find any other issues.
d3 VariableViewStackedBar.docx
Hi, Please see attached doc on the behaviour that we observe in this variable view stacked bar. We'd like to know if this is a known issue and if there any workaround to this.
Thank you. Regards, Flo