Pie Labels, tabIndex
Fixes
- Replaces
tabindex
throughout withtabIndex
which should make accessibility work fine with React 15.x and 16.1+.
Features
- oLabel now honors several
orient
andpadding
settings in radial mode (pie charts). You can sendoLabel={{ label: "true", orient: "stem" }}
and get:
"stem" orient also honors negative padding if you want the labels inside the slices, sooLabel={{ label: "true", orient: "stem", padding: -5 }}
gives you:
It also honors "edge" (which is the new default) sooLabel={true}
will give you:
oLabel={{ label: "true", orient: "edge", padding: -10 }}
insets the labels:
The old default (arc centroid) can be achieved withorient: "center"
but why would you with these cool options? - legend honors an
orientation="horizontal"
to create simple horizontal legends.