hyperprop-charting-library 0.1.22 → 0.1.23

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.
@@ -1679,7 +1679,7 @@ function createChart(element, options = {}) {
1679
1679
  ctx.moveTo(crisp(chartLeft), crisp(fullChartBottom));
1680
1680
  ctx.lineTo(crisp(chartRight), crisp(fullChartBottom));
1681
1681
  ctx.moveTo(crisp(chartRight), crisp(chartTop));
1682
- ctx.lineTo(crisp(chartRight), crisp(chartBottom));
1682
+ ctx.lineTo(crisp(chartRight), crisp(fullChartBottom));
1683
1683
  ctx.stroke();
1684
1684
  for (let tick = 0; tick <= yTicks; tick += 1) {
1685
1685
  const ratio = tick / yTicks;
@@ -1655,7 +1655,7 @@ function createChart(element, options = {}) {
1655
1655
  ctx.moveTo(crisp(chartLeft), crisp(fullChartBottom));
1656
1656
  ctx.lineTo(crisp(chartRight), crisp(fullChartBottom));
1657
1657
  ctx.moveTo(crisp(chartRight), crisp(chartTop));
1658
- ctx.lineTo(crisp(chartRight), crisp(chartBottom));
1658
+ ctx.lineTo(crisp(chartRight), crisp(fullChartBottom));
1659
1659
  ctx.stroke();
1660
1660
  for (let tick = 0; tick <= yTicks; tick += 1) {
1661
1661
  const ratio = tick / yTicks;
package/dist/index.cjs CHANGED
@@ -1679,7 +1679,7 @@ function createChart(element, options = {}) {
1679
1679
  ctx.moveTo(crisp(chartLeft), crisp(fullChartBottom));
1680
1680
  ctx.lineTo(crisp(chartRight), crisp(fullChartBottom));
1681
1681
  ctx.moveTo(crisp(chartRight), crisp(chartTop));
1682
- ctx.lineTo(crisp(chartRight), crisp(chartBottom));
1682
+ ctx.lineTo(crisp(chartRight), crisp(fullChartBottom));
1683
1683
  ctx.stroke();
1684
1684
  for (let tick = 0; tick <= yTicks; tick += 1) {
1685
1685
  const ratio = tick / yTicks;
package/dist/index.js CHANGED
@@ -1655,7 +1655,7 @@ function createChart(element, options = {}) {
1655
1655
  ctx.moveTo(crisp(chartLeft), crisp(fullChartBottom));
1656
1656
  ctx.lineTo(crisp(chartRight), crisp(fullChartBottom));
1657
1657
  ctx.moveTo(crisp(chartRight), crisp(chartTop));
1658
- ctx.lineTo(crisp(chartRight), crisp(chartBottom));
1658
+ ctx.lineTo(crisp(chartRight), crisp(fullChartBottom));
1659
1659
  ctx.stroke();
1660
1660
  for (let tick = 0; tick <= yTicks; tick += 1) {
1661
1661
  const ratio = tick / yTicks;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperprop-charting-library",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Lightweight TypeScript charting core",
5
5
  "type": "module",
6
6
  "main": "./dist/hyperprop-charting-library.cjs",