Jakub Sobon
4981ad23e2
Method on Braille canvas that just sets cell options.
2019-02-16 16:03:44 -05:00
Jakub Sobon
66599a4d12
Merge pull request #130 from mum4k/bug-adaptive-and-custom
...
Make the Y axis adaptive when custom scale is provided
2019-02-16 01:22:31 -05:00
Jakub Sobon
d2533da9cf
Make the Y axis adaptive when custom scale is provided.
2019-02-16 01:12:08 -05:00
Jakub Sobon
73a6514fee
Merge pull request #129 from mum4k/unscaled-x
...
LineChart now has an option that disables scaling of the X axis
2019-02-16 01:10:21 -05:00
Jakub Sobon
52ae7d1807
Improving option comment and test coverage.
2019-02-16 01:01:04 -05:00
Jakub Sobon
587185eb73
Updating CHANGELOG.
2019-02-16 00:38:32 -05:00
Jakub Sobon
aca7abff4f
LineChart now has an option that disables scaling of X axis.
...
Useful for applications that want to continuously feed data and make
them "roll" through the linechart.
Also exposing a method that returns the observed capacity of the
LineChart the last time Draw was called.
2019-02-16 00:35:40 -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
bbaf393110
Removing the Y object.
2019-02-15 21:20:42 -05:00
Jakub Sobon
feb406ec11
Refactoring y.Details off the object.
2019-02-15 21:19:04 -05:00
Jakub Sobon
9b3edb42b9
Refactor RequiredWidth off the Y object.
2019-02-15 21:05:43 -05:00
Jakub Sobon
6ace35ee15
Fixing a typo in the CHANGELOG.
2019-02-15 00:56:14 -05:00
Jakub Sobon
2dd5a0c33d
Merge pull request #127 from mum4k/write-atomic-reset
...
Adding Text Write option that atomically replaces the text content.
2019-02-15 00:54:38 -05:00
Jakub Sobon
9ccf77d77c
Updating CHANGELOG.
2019-02-15 00:41:33 -05:00
Jakub Sobon
38a2a36234
Adding Text Write option that atomically replaces the text content.
2019-02-15 00:40:15 -05:00
Jakub Sobon
d4b68e905b
Merge pull request #126 from mum4k/constructor-error
...
Constructors of all widgets now return an error.
2019-02-15 00:35:38 -05:00
Jakub Sobon
ca21035e75
Also listing LineChart in the CHANGELOG.
2019-02-15 00:22:11 -05:00
Jakub Sobon
2784a1c7a0
Constructor of Text now returns an error.
2019-02-15 00:20:20 -05:00
Jakub Sobon
231db41590
Constructor of SparkLine now returns an error.
2019-02-15 00:05:45 -05:00
Jakub Sobon
a6f5d69569
Constructor of Gauge now returns an error.
2019-02-14 23:56:06 -05:00
Jakub Sobon
1ab50bcefc
Finished changes for BarChart and updated CHNAGELOG.
2019-02-14 23:44:11 -05:00
Jakub Sobon
3e8466282e
Merge branch 'devel' into constructor-error
2019-02-14 23:40:52 -05:00
Jakub Sobon
22db35293e
Merge branch 'master' into devel
2019-02-14 23:37:30 -05:00
Jakub Sobon
2949a79357
Constructor of BarChart now returns an error.
2019-02-14 23:37:06 -05:00
Jakub Sobon
d7c1cf5cfb
Merge pull request #125 from mum4k/custom-scale
...
Allow users to provide custom Y axis scale for the LineChart.
2019-02-14 23:31:24 -05:00
Jakub Sobon
18ed0f1274
Note about bug fix in the CHANGELOG.
2019-02-14 23:16:28 -05:00
Jakub Sobon
6379b1d28e
Allow users to provide custom Y axis scale for the LineChart.
2019-02-14 23:13:21 -05:00
Jakub Sobon
6969da653e
Merge pull request #122 from mum4k/vertical-labels
...
Linechart now supports vertical label orientation under the X axis.
2019-02-14 01:15:05 -05:00
Jakub Sobon
11286f6ff6
Improving test coverage of label.go.
2019-02-14 01:06:48 -05:00
Jakub Sobon
369b86604c
Updating CHANGELOG.
2019-02-14 00:46:14 -05:00
Jakub Sobon
5f6a84314c
Account for two labels on the Y axis.
2019-02-14 00:43:27 -05:00
Jakub Sobon
3dba76c26f
Linechart can now draw labels under X vertically.
2019-02-14 00:37:35 -05:00
Jakub Sobon
7ef79393df
xLabels now supports vertical labels.
2019-02-13 23:16:05 -05:00
Jakub Sobon
9f893eb482
Function to calculate required height.
...
And options to set label orientation.
2019-02-13 22:53:19 -05:00
Jakub Sobon
88a948bf56
Updating CHANGELOG.
2019-02-13 00:48:08 -05:00
Jakub Sobon
13c4ebf77b
Merge pull request #120 from mum4k/draw-vertical-text
...
Function that draws text in vertical columns.
2019-02-13 00:38:56 -05:00
Jakub Sobon
939ee15513
Function that draws text in vertical columns.
2019-02-13 00:18:19 -05:00
Jakub Sobon
29a2010b28
Merge branch 'hotfix-0.6.1' into devel
2019-02-12 23:41:16 -05:00
Jakub Sobon
34fe013ca6
Fixing typo in the CHANGELOG.
v0.6.1
2019-02-12 23:36:45 -05:00
Jakub Sobon
fc1de116af
Merge pull request #119 from mum4k/hotfix-0.6.1
...
Hotfix v0.6.1
2019-02-12 23:33:04 -05:00
Jakub Sobon
9df48f9060
Undo the experiment in the demo.
2019-02-12 23:19:31 -05:00
Jakub Sobon
23c01a5c56
The LineChart widget now correctly places custom labels.
...
The code incorrectly used label number rather than value position when
looking up custom labels.
2019-02-12 23:15:13 -05:00
Jakub Sobon
6473cab150
Merge pull request #118 from mum4k/mouse-fsm
...
Generalising the mouse button FSM.
2019-02-12 22:50:54 -05:00
Jakub Sobon
9613145a47
Updating CHANGELOG and licences.
2019-02-12 22:42:49 -05:00
Jakub Sobon
768e3c306c
Generalizing the mouse button FSM.
...
Taking this out of the container package so it can be reused by widgets.
2019-02-12 22:37:00 -05:00
Jakub Sobon
09f2140437
API for the mouse FSM.
2019-02-11 01:09:48 -05:00
Jakub Sobon
3ff88264ff
Merge pull request #116 from mum4k/256-color-default
...
256 color default
2019-02-11 00:28:29 -05:00
Jakub Sobon
69b7799847
Adding licences.
2019-02-11 00:18:46 -05:00
Jakub Sobon
550afdd613
Licences and fixing data race.
2019-02-11 00:14:24 -05:00