In trying to use this example:
http://www.webdetails.pt/ctools/ccc....-line-measures
and am not sure how (if possible) to correlate some of the fields in the example code (which is, really really awesome, btw, that these examples exist. if you are new and want to learn, visit this site and try to build these examples, for the love...)
so the issue I have is I'm not editing the cdfde files (just using CDE and things like 'pre-execution') and not sure how to implement these portions of the example:
readers: ['measure, series, category, value'],
dimensions: {
// Explicitly define the "measure" dimension
// (change the defaults that would
// otherwise take effect)
measure: {
// If you want to hide the special
// "measure" dimension from the tooltip:
isHidden: true,
// Fine tune the labels
formatter: function(v) {
switch(v) {
case 'Count':
return "Count";
case 'AvgLatency':
return "Avg. Latency";
}
return v + '';
}
}
},
etc...
Do I wrap it in a function in pre-execution? Example of how to do this?
Edit the cdfde file?
As always, many thanks for this awesome tool.
http://www.webdetails.pt/ctools/ccc....-line-measures
and am not sure how (if possible) to correlate some of the fields in the example code (which is, really really awesome, btw, that these examples exist. if you are new and want to learn, visit this site and try to build these examples, for the love...)
so the issue I have is I'm not editing the cdfde files (just using CDE and things like 'pre-execution') and not sure how to implement these portions of the example:
Quote:
readers: ['measure, series, category, value'],
dimensions: {
// Explicitly define the "measure" dimension
// (change the defaults that would
// otherwise take effect)
measure: {
// If you want to hide the special
// "measure" dimension from the tooltip:
isHidden: true,
// Fine tune the labels
formatter: function(v) {
switch(v) {
case 'Count':
return "Count";
case 'AvgLatency':
return "Avg. Latency";
}
return v + '';
}
}
},
etc...
Edit the cdfde file?
As always, many thanks for this awesome tool.