Closed tanhengyeow closed 4 years ago
draw line chart hiding the sprite
Refer to this issue https://github.com/VisualizationLiteracyPlayground/visualization-literacy-playkit/issues/4, sprite should be blank by default now.
Use util.target.setVisible(false);
to hide the sprite, or setting the sprite to be blank is better?
util.target.setVisible(false);
sounds promising. You can attempt to use this first, we can review it later in the PR.
Trying on adding text(e.g. number) to the axises, it feels like a troublesome task.
Look at how this Scratch project draws a bar chart. We could extract the relevant logic from the blocks and implement them programmatically in our custom blocks.
This issue keeps track of work that allows users to draw a line graph via blocks we offer. To draw a line graph, we need blocks that can: