Open tjohannto opened 4 years ago
Currently there is a fixed value used for yForLegendRect:
yForLegendRect
yForLegendRect = function yForLegendRect(id, i) { return yForLegend(id, i) - 5; };
But the paddingTop can be changed and should be used here imho:
paddingTop
yForLegendRect = function yForLegendRect(id, i) { return yForLegend(id, i) - (paddingTop + 1); };
Am I right?
Currently there is a fixed value used for
yForLegendRect
:But the
paddingTop
can be changed and should be used here imho:Am I right?