@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, [plot.x, plot.x + plot.width])
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-charts",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Small React chart library on SVG, with a Highcharts-shaped configuration model",
5
5
  "license": "MIT",
6
6
  "repository": {