layerchart 0.93.5 → 0.93.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
export let innerRadius: number | undefined = undefined;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Define outerRadius. Defaults to smallest width (xRange) or height (yRange) dimension (/
|
|
74
|
+
* Define outerRadius. Defaults to smallest width (xRange) or height (yRange) dimension (/2)
|
|
75
75
|
* • value >= 1: discrete value
|
|
76
|
-
* • value < 1: percent of chart height / 2
|
|
77
|
-
* • value < 0: offset of chart height / 2
|
|
76
|
+
* • value < 1: percent of chart width or height (smallest) / 2
|
|
77
|
+
* • value < 0: offset of chart width or height (smallest) / 2
|
|
78
78
|
*/
|
|
79
79
|
export let outerRadius: number | undefined = undefined;
|
|
80
80
|
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
context = element?.getContext('2d', { willReadFrequently }) as CanvasRenderingContext2D;
|
|
154
154
|
|
|
155
155
|
hitCanvasContext = hitCanvasElement?.getContext('2d', {
|
|
156
|
-
willReadFrequently:
|
|
156
|
+
willReadFrequently: false, // Explicitly set to `false` to resolve pixel artifacts between fill and stroke with the same color (issue #372)
|
|
157
157
|
}) as CanvasRenderingContext2D;
|
|
158
158
|
});
|
|
159
159
|
|