# Note that the order here is important -- it is used for sequence simplification
### The format of each line is NAME TYPE [ALLOWED_PARAMETERS]
### No parameters means they are not allowed, CAPS indicate a type, lower case a choice of options

## Data must be first
data other STRING

## Element definitions
point element
line element
area element
bar element
text element
edge element
path element
polygon element

## Diagrams
bubble diagram
chord diagram
cloud diagram
pack diagram
tree diagram
treemap diagram
network diagram - NUMBER
map diagram - STRING+ labels low medium high

## X and Y locations
x position FIELD+ NUMBER+ STRING+
y position FIELD+ NUMBER+ STRING+
yrange position FIELD+ NUMBER+ STRING+


## Coords
stack coords
polar coords
rectangular coords + aspect square - NUMBER
transpose coords + aspect square - NUMBER

## Aesthetics
color aesthetic FIELD+ NUMBER+ STRING+
size aesthetic FIELD+ NUMBER+ STRING+
opacity aesthetic FIELD
split aesthetic FIELD+
key aesthetic FIELD+
sort aesthetic FIELD+
filter aesthetic FIELD+
animate aesthetic FIELD speed
label aesthetic FIELD+ NUMBER+ STRING+
tooltip aesthetic FIELD+ NUMBER+ STRING+

## Data transform operations
bin transform FIELD+
rank transform FIELD+
inner transform FIELD+
outer transform FIELD+
each transform FIELD+
top transform FIELD+
bottom transform FIELD+

## Data summary operations
count data FIELD+
sum data FIELD+
percent data FIELD+
mean data FIELD+
median data FIELD+
mode data FIELD+
min data FIELD+
max data FIELD+
unique data FIELD+
valid data FIELD+
list data FIELD+
stddev data FIELD+
skew data FIELD+
kurtosis data FIELD+
valid data FIELD+
q1 data FIELD+
q3 data FIELD+
iqr data FIELD+
range data FIELD+
fit data FIELD+
smooth data FIELD+

# Miscellaneous
using other dodge interpolate
axes other + none x y
axes other + none x y
guide other + x y
legends other auto none all color size
at other NUMBER+
style other STRING
effect other enter
interaction other + select panzoom filter auto call none
title other STRING+ FIELD+ NUMBER+

## Combination actions
+ combination
| combination
> combination
>> combination
