summaryrefslogtreecommitdiffstats
path: root/cmd/jp/canvas_other.go
diff options
context:
space:
mode:
authorSergey Grebenshchikov <sgreben@gmail.com>2018-03-28 17:27:59 +0200
committerSergey Grebenshchikov <sgreben@gmail.com>2018-03-28 17:46:08 +0200
commitc76ad10b1dc63beeee3cf4fa8f4f4f4b02222289 (patch)
treee5735d201e3ab6267a75dec79ed5d53b0bcdf635 /cmd/jp/canvas_other.go
parent7e3d9839123783e5c367522953e494789ce3618d (diff)
Add braille & quarter-block canvas. Add scatter plot type. Re-write linechart + barchart.
Diffstat (limited to 'cmd/jp/canvas_other.go')
-rw-r--r--cmd/jp/canvas_other.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/jp/canvas_other.go b/cmd/jp/canvas_other.go
new file mode 100644
index 0000000..053cef7
--- /dev/null
+++ b/cmd/jp/canvas_other.go
@@ -0,0 +1,10 @@
+// +build !windows
+
+package main
+
+var autoCanvas = map[string]string{
+ plotTypeBar: canvasTypeQuarter,
+ plotTypeLine: canvasTypeQuarter,
+ plotTypeScatter: canvasTypeBraille,
+ plotTypeHist: canvasTypeQuarter,
+}