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 tried to add the bottom right chart to the repo but there seems to be bugs in the beta 1.
Reading the documentation of MarkDimension, I assume that using .inset(0) should fill the step size. If I understand it correctly this should result in rectangles next to each other filling the whole space, as desired.
Oh, haven't seen this.
HeatMap uses the same solution I used in my working example. It's ok but not ideal in my opinion because of the hard coded step size.
Keep in mind the HeatMap code is one potential way to represent the chart. No idea if that is the way the chart was intended to be used. Happy to see any other solutions anyone can work out and would always welcome the addition for everyone to learn from.
I tried to add the bottom right chart to the repo but there seems to be bugs in the beta 1.
Reading the documentation of
MarkDimension
, I assume that using.inset(0)
should fill the step size. If I understand it correctly this should result in rectangles next to each other filling the whole space, as desired.But when I create a chart like this:
the result is an empty chart:
I get it to work with the following code (works but uses hard-coded values for the step size):
The result:
Do I misunderstand
.inset(_:)
?By the way,
.ratio(1)
doesn't work as well.The text was updated successfully, but these errors were encountered: