]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add text stoke radial linear scale (#11346)
authorJacco van den Berg <jaccoberg2281@gmail.com>
Tue, 13 Jun 2023 21:31:17 +0000 (23:31 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 21:31:17 +0000 (23:31 +0200)
src/scales/scale.radialLinear.js

index ae44adbcd5c5b04887a74a2057d99c620ea6815c..23e207bd5d9fd0c08e2cb24c83abf35fa5c30602 100644 (file)
@@ -669,6 +669,8 @@ export default class RadialLinearScale extends LinearScaleBase {
 
       renderText(ctx, tick.label, 0, -offset, tickFont, {
         color: optsAtIndex.color,
+        strokeColor: optsAtIndex.textStrokeColor,
+        strokeWidth: optsAtIndex.textStrokeWidth,
       });
     });