The width of a prefix plus an ellipsis is not monotone when the text has a
line break, so the binary search could drop a label that fits. Also pass the
series index to plot_kind in the data table (upstream/main does not compile
without it).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
render.rs was split into render/ modules on main; the label-fitting, legend and treemap changes are re-applied in the new modules.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Binary search in Ctx::fit, early exit of the side-legend column measure,
no per-point Vecs in value_range/squarify, treemap carries the value.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>