vega-lite
vega-lite copied to clipboard
Dynamic (default) label angle
Right now, for discrete x-axis, we always rotate our labels. However, we can have a better dynamic default like in this spec.
However, note that Vega sometimes doesn't update the layout correctly so we may need to update Vega's axis layout to account for signal based updates too.
We should discuss what the cutoff size for this would be. Also, there should probably be an escape hatch like
{
config: { dyamicLabels: bool } // default true
}
When we resize the chart, sometimes the size is a bit off like this.