Open kyun99 opened 3 weeks ago
Hey @kyun99, I'm here to assist you with any bugs, questions, or contributions you have. Let's work on resolving the issue together!
To resolve the issue with the stroke width not updating in Deck.gl's arc chart, ensure the following:
Check fd.stroke_width
: Verify that fd.stroke_width
is correctly set in the form data. It should not be undefined
or null
. The strokeWidth
is set using fd.stroke_width
in the ArcLayer
:
strokeWidth: fd.stroke_width ? fd.stroke_width : 3,
Form Data Configuration: Ensure that the stroke_width
is configured correctly in the form data and that the selected value is being saved and passed properly. The controlPanel.ts
file should have stroke_width
as a SelectControl
with options like [1, 2, 3, 4, 5].
Re-rendering: Make sure the component re-renders when fd.stroke_width
changes. The renderTrigger: true
setting in the control configuration should facilitate this.
Deck.gl Version: Confirm that the latest version of Deck.gl is being used to avoid compatibility issues. The current setup in Arc.tsx
aligns with the latest Deck.gl API [1][2].
If these steps don't resolve the issue, there might be a problem elsewhere in the data flow or rendering logic.
To continue talking to Dosu, mention @dosu.
Bug description
While working with Deck.gl's arc chart, I encountered an issue where adjusting the stroke width via a form doesn't seem to update the arc's width.
How to reproduce: (As per quick start guide)
Fire up Superset using Docker Compose
$ docker compose -f docker-compose-image-tag.yml up