ui.gadgets.charts.axes: initial import

char-rename
Alexander Iljin 2017-02-02 00:54:09 +03:00 committed by John Benediktsson
parent a050823f29
commit dd3fcfdadf
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
Alexander Ilin

View File

@ -0,0 +1,11 @@
! Copyright (C) 2017 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel locals ui.gadgets ui.gadgets.charts
ui.render ;
IN: ui.gadgets.charts.axes
TUPLE: axis < gadget vertical? ;
M: axis draw-gadget*
dup parent>> dup chart? [| axis chart |
] [ 2drop ] if ;