bd808 / graphite-graph-php

PHP DSL for generating Graphite graph specifications
http://bd808.com/graphite-graph-php
BSD 2-Clause "Simplified" License
16 stars 6 forks source link

Issue #20: ini syntax for grouping series #24

Closed bd808 closed 12 years ago

bd808 commented 12 years ago

Added ability to construct a series that uses the expanded versions of multiple other series as it's basis. The derived series will have a comma separated series list as it's starting point. Additional functions such as group() can then be applied to the list of series.

By default the source series will be graphed as well as the derived series. If you don't want to render the source series they can be marked :is = abstract.

Syntax:

[one]
:is = abstract

[two]
:is = abstract

[group]
:series[] = one
:series[] = two
; or :series = "one, two"