Specifying x2 attribute for ruleY mark of barY Plot

If you don’t give x1 nor x2 then the rule will span the whole chart. If you give x2, you’re saying where to stop, but not where to start. If you also specify x1, then it works:

x1: addX2 ? () => "E" : undefined,x2: addX2 ? letter : undefined,

1 Like