fix: Add width/height for the lines in charts (#2586)

Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
Lipis
2020-12-14 17:29:39 +02:00
committed by GitHub
parent 7c3e1d8d1b
commit ce52c18382
2 changed files with 4 additions and 0 deletions

View File

@@ -192,6 +192,7 @@ export const renderSpreadsheet = (
y,
startArrowhead: null,
endArrowhead: null,
width: chartWidth,
points: [
[0, 0],
[chartWidth, 0],
@@ -205,6 +206,7 @@ export const renderSpreadsheet = (
y,
startArrowhead: null,
endArrowhead: null,
height: chartHeight,
points: [
[0, 0],
[0, -chartHeight],
@@ -220,6 +222,7 @@ export const renderSpreadsheet = (
endArrowhead: null,
...commonProps,
strokeStyle: "dotted",
width: chartWidth,
points: [
[0, 0],
[chartWidth, 0],