Hey all! I'm experimenting with this tool, but realized if I specify width and height (running on macOS) I generate a slew of errors:
Sample command:
$ victory-cli ./dev/sample.json \
-x age \
-y aptitude \
-h 500 \
-w 500 \
-t light \
-c line > ./dev/sample.png
Sample output:
Warning: Failed prop type: Invalid prop `height` of type `string` supplied to `VictoryChart`, expected `number`.
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `width` of type `string` supplied to `VictoryChart`, expected `number`.
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `height` of type `string` supplied to `VictoryContainer`, expected `number`.
in VictoryContainer
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `width` of type `string` supplied to `VictoryContainer`, expected `number`.
in VictoryContainer
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `height` of type `string` supplied to `VictoryAxis`, expected `number`.
in VictoryAxis (created by VictoryChart)
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `width` of type `string` supplied to `VictoryAxis`, expected `number`.
in VictoryAxis (created by VictoryChart)
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `height` of type `string` supplied to `VictoryLine`, expected `number`.
in VictoryLine (created by VictoryChart)
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `width` of type `string` supplied to `VictoryLine`, expected `number`.
in VictoryLine (created by VictoryChart)
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `clipHeight` of type `string` supplied to `ClipPath`, expected `number`.
in ClipPath
in VictoryLine (created by VictoryChart)
in g
in svg (created by VictoryContainer)
in VictoryContainer
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Warning: Failed prop type: Invalid prop `clipWidth` of type `string` supplied to `ClipPath`, expected `number`.
in ClipPath
in VictoryLine (created by VictoryChart)
in g
in svg (created by VictoryContainer)
in VictoryContainer
in VictoryChart (created by VictoryWrapper)
in VictoryWrapper
Hey all! I'm experimenting with this tool, but realized if I specify width and height (running on macOS) I generate a slew of errors: