Elephant includes a set of dynamic macros, in order to render Gremlin results in a fancy manner.
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
height | CSS style height. | ||
name | Attribute name. | ||
root |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
data | |||
height | CSS style height. | ||
order | asc, desc | ||
title | |||
type | Only items with type. | line, pie |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
name | Attribute name. | ||
root |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
name | Attribute name. | ||
root |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
class | Writes true or false expressions depending on whether class could be instantiated. | ||
name | Attribute name. | ||
root |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
name | Attribute name. | ||
root |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
concept | |||
limit | |||
root |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
value | Value to search for. |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
format | Format used to show the value. | percentage, difference | |
now | |||
period | month, year, lastYear, lastQuarter, lastSemester, semester, lastMonth, quarter | ||
then |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
order | asc, desc | ||
rows |
Atributs | Descripció | Per defecte | Opcions |
---|---|---|---|
entities | |||
limit | |||
matching | |||
ranking | |||
template | Template used to show the items. | ||
tmpl-root | Templates root. |
These are ElephantGraph, real-data, dynamic macros examples.
@w{cards(class=three)} @ {gview(entities="projects-random",ranking="project-alltime",matching="project-relations",tmpl-root="dossier",template="project-cards",limit=3)} @w{/cards} @w{grid(class=two column)} @w{column} @w{table(class=definition)} @w{theader(values="Phase|Projects")} @ {gtable(rows=projects-phase)} @w{/table} @w{/column} @w{column} @ {gchart(title="Projects phase",type=pie,data=projects-phase,height=300px)} @w{/column} @w{column} @ {gchart(title="Dossier status",type=pie,data=dossier-status,height=300px)} @w{/column} @w{column} @ {gchart(title="Issues priority",type=pie,data=issues-status,height=300px)} @w{/column} @w{/grid}