[drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex

Eric Law ericslaw at gmail.com
Mon Dec 18 18:18:49 EST 2006


I'm trying to display a template in a grouped dashboard.
The aim is to end up with two column output.... by 'grouping' the
dashboard graphs by name that is extracted via RegEx.

It should look something like this:

Dashboard:
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut'
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut2'
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut3'
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut4'
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut5'
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut6'
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut7'
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut8'
Template with regex 'foo'      Template with regex 'bar'    but with
rowname 'nut9'

I thought it intuitive that I simply apply the template with different RegExs
and extract the rownames from each... but that isn't working.

I have found that to get muliple columns, one needs to use the
template element on the dashboard multiple times.  (otherwise multiple
hits on the same rowname only show the first item).

Now that I have two elements in the dashboard, the selection criteria
for the templates is resulting in multiple hits for the same row (I'm
placing the rowname in the output so 'view page source' can show me
the results).   But no graphs appear.

I would think that having a Template of Style Regex (how is Template Base used?)
with a custom Row Name regex would do the trick, but it isn't.

The problem I seem to be having is understanding the selection criteria.

I want the first row to be items found in the dashboard that match the
regex of the first template.  The second column would contain the same
template applied with a different RegEx.

Any insights?
Eric Law


More information about the drraw-users mailing list