The DiscreteColorLegend
s of an XYPlot
are a little narrow for me:
Specially when I want to make them other than solid:
I browsed the documentation, and even the source code; I think that the length is determined in line 59 of this file: https://github.com/uber/react-vis/blob/master/packages/react-vis/src/legends/discrete-color-legend-item.js :
d="M 0, 1 L 14, 1"
Can I change it in my own local source code?