@pushwoosh/kit-charts 0.0.13 → 0.0.14
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.
|
@@ -566,7 +566,10 @@ export function buildChartModel({
|
|
|
566
566
|
id: 'x0',
|
|
567
567
|
options: xAxisOptions,
|
|
568
568
|
scale: xScale,
|
|
569
|
-
ticks: axisTicks(xAxisOptions, xScale, xHint, timePattern, 'x', numberFormat,
|
|
569
|
+
ticks: axisTicks(xAxisOptions, xScale, xHint, timePattern, 'x', numberFormat,
|
|
570
|
+
// Highcharts turns an end label inwards only where it would leave the
|
|
571
|
+
// canvas, not where it leaves the plot: the gutter is room to hang over.
|
|
572
|
+
[0, size.width])
|
|
570
573
|
},
|
|
571
574
|
yAxes: yAxisModels,
|
|
572
575
|
titles: titles.entries,
|