Jakub Sobon
8968704de2
Fixing racy behavior between Options and Draw.
...
This applies to widgets whose Options depend on user data.
Documenting this in the docs and on API and protecting against this
condition in the affected widgets.
2019-01-26 23:58:38 -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
Michael Teuscher
a4152652fc
updated pull-request
2019-01-23 08:15:10 +01:00
Michael Teuscher
0c05aeed5f
Properly dismiss err object
2019-01-22 23:45:29 +01:00
Michael Teuscher
1fb4a35eeb
Handle error instead of swallowing it
2019-01-22 23:33:11 +01:00
Michael Teuscher
010ad3fc5b
Fixed comments for golint
2019-01-22 23:30:18 +01:00
Jakub Sobon
d4afe691a1
Adding licences.
2019-01-21 17:54:19 -05:00
Jakub Sobon
59fd19a6c7
Adding description and recording of the donutdemo.
2019-01-21 17:43:35 -05:00
Jakub Sobon
7f133bf611
Rest of the Donut widget files.
2019-01-21 17:02:23 -05:00
Jakub Sobon
cd48efc885
Implementation of the Donut widget.
2019-01-21 17:00:19 -05:00
Jakub Sobon
310ea212d3
Skeleton for the donut widget.
2019-01-19 21:48:29 -05:00
Andrea Manzini
ceae209ba2
cleanup lint issues
2019-01-19 16:16:19 +01:00
Jakub Sobon
12e28728ee
Updating documentation.
...
And increasint the redraw interval on linechart demo.
2019-01-15 23:17:13 -05:00
Jakub Sobon
c18a940df4
Adding a demo of a more complete dashboard.
2019-01-15 22:40:44 -05:00
Jakub Sobon
964d676e31
Allowing container.Option to report an error.
2019-01-14 00:08:20 -05:00
Jakub Sobon
bc911a3cd6
More test coverage for linechart.
2019-01-13 01:38:39 -05:00
Jakub Sobon
1db0cfc7f1
Test coverage for the initial functionality of linechart.
2019-01-13 00:03:19 -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
01957f0d15
Finalizing the axes package.
...
It can determine details for both of the axis.
2019-01-12 15:55:49 -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
27d9a6c7c5
Adding missing license.
2019-01-08 00:28:05 -05:00
Jakub Sobon
6da1d10f86
Complete implementation of the YAxis object.
2019-01-08 00:24:48 -05:00
Jakub Sobon
310f12a5ae
Licenses for label.go.
2019-01-07 23:42:46 -05:00
Jakub Sobon
f61d5f045d
Function that determines label placement.
2019-01-07 23:42:17 -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
025e8a7efb
Adding numbers.Round for backward compatibility.
...
And disabling tests of unimplemented components.
2019-01-07 20:53:42 -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
Jakub Sobon
d8c24da6c4
Initial skeleton and API for the LineChart widget.
2018-12-31 00:17:38 -05:00
Jakub Sobon
e5db7eff21
Responding to comments from @chipmunkie.
2018-07-02 22:28:17 -04:00
Jakub Sobon
38c288b077
Merge branch 'devel' into sparkline
2018-06-24 23:53:09 -04:00
Jakub Sobon
dd57b316b0
Fix incorrect color in the SparkLine demo.
2018-06-22 20:48:50 -04:00
Jakub Sobon
35f2672cae
Merge branch 'devel' into sparkline
2018-06-22 16:37:00 -04:00
Jakub Sobon
b281b0506f
Merge branch 'devel' into barchart
2018-06-22 16:36:41 -04:00
Jakub Sobon
4da5097d66
Fixing the SparkLine demo.
2018-06-22 16:33:05 -04:00
Jakub Sobon
f4d2edc3f9
Adding licenses.
2018-06-22 16:30:50 -04:00
Jakub Sobon
9d02f43c6f
Self-review.
2018-06-22 16:27:23 -04:00
Jakub Sobon
a9813c4c76
Implementation of the SparkLine widget.
...
And completing the demo.
2018-06-22 09:40:41 -04:00
Jakub Sobon
2ce014d35a
Fix for compatibility with Go 1.8.
...
Local implementation of math.Round.
2018-06-21 22:19:17 -04:00
Jakub Sobon
d430638eb0
More test cases for the SparkLine widget.
2018-06-21 22:12:13 -04:00
Jakub Sobon
630151301f
Code that determines which sparks runes to use.
2018-06-21 22:11:57 -04:00
Jakub Sobon
40bee03bc2
Fixing incorrect func name in test output.
2018-06-21 17:05:05 -04:00
Jakub Sobon
27f6d76dc6
Skeleton of the SparkLine widget, tests and demo.
2018-06-21 17:04:19 -04:00
Jakub Sobon
6a320ac68c
Adding colors to the demo.
2018-06-19 23:12:28 -04:00
Jakub Sobon
a0f55ccf01
Improving the demo.
2018-06-19 23:02:15 -04:00