Jakub Sobon
38ec4a9e1b
Fixing invalid zooming behaviors.
...
- stay unzoomed when we hit the largest view.
- correctly normalize zoom values when the base axis is in motion.
- test coverage for the edge cases.
Fixes #136
2019-02-18 18:48:19 -05:00
Jakub Sobon
f465e11288
Scale and label now support X axis that doesn't start at zero.
2019-02-15 22:59:27 -05:00
Jakub Sobon
c78bd1f226
Refactor XScale so we can pass in the min value.
...
Rather than assuming it is always zero.
2019-02-15 22:44:40 -05:00
Jakub Sobon
21083a9b8f
Self-review fixes.
2019-01-26 22:33:20 -05:00
Jakub Sobon
7d22a68376
Adding LineChart option YAxisAdaptive.
...
When provided, this option stops anchoring the Y axis at the zero value.
2019-01-26 22:23:55 -05:00
Jakub Sobon
406c365847
LineChart now correctly displays series without zero.
2019-01-26 03:22:13 -05:00
Jakub Sobon
c2fd0aa46f
Better names for arguments.
2019-01-12 21:26:36 -05:00
Jakub Sobon
5a392572f0
Proof of concept code that draws a single line chart.
2019-01-12 21:13:03 -05:00
Jakub Sobon
426cc6230b
Placement of labels under the X axis.
...
And more test coverage.
2019-01-12 00:01:04 -05:00
Jakub Sobon
a3bed458d6
More validation for the scales.
2019-01-08 23:56:05 -05:00
Jakub Sobon
bdd0290c98
Scale for the X axis.
2019-01-08 23:36:21 -05:00
Jakub Sobon
01e44819cb
Reversing scale inputs and outputs.
...
So they grow as the coordinates do.
2019-01-07 22:55:28 -05:00
Jakub Sobon
91972c941e
Adding licenses.
2019-01-07 00:16:48 -05:00
Jakub Sobon
79c7955335
Numerical functions and representations of value, scale and axis.
2019-01-07 00:15:31 -05:00