mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
* Create standardized text render method * Document renderText options and enable configurable decoration width * Add tests for font rendering * Split color definition to it's own file * renderText supports setting styles * Mock context needs to track textBaseline * renderText can set textAlign and textBaseline * renderText does not mutate the context + translate/rotate * Explicitly set the text decoration style * Move useStroke logic into renderText * Cartesian scale: Update computeLabelItems to avoid duplicate allocations