Closed offlinehacker closed 9 years ago
normally you should be able to just use metrics with a custom unit.
let's say you add a metric with unit=OfflineHack
, you can now query for unit=MOfflineHack
, unit=GiOfflineHack/h
, etc
I would like to covert for example usd to eur where i would be able to write custom conversion plugin. Support for that would make this app really awesome :) On May 26, 2014 6:05 PM, "Dieter Plaetinck" notifications@github.com wrote:
normally you should be able to just use metrics with a custom unit. let's say you add a metric with unit=OfflineHack, you can now query for unit=MOfflineHack, unit=GiOfflineHack/h, etc
— Reply to this email directly or view it on GitHubhttps://github.com/vimeo/graph-explorer/issues/115#issuecomment-44201032 .
ah you want to convert between currencies. do you want to hardcode the currency conversion rate? what if it changes?
That would be up to conversion plugin to retrieve conversion rate. On May 26, 2014 6:53 PM, "Dieter Plaetinck" notifications@github.com wrote:
ah you want to convert between currencies. do you want to hardcode the currency conversion rate? what if it changes?
— Reply to this email directly or view it on GitHubhttps://github.com/vimeo/graph-explorer/issues/115#issuecomment-44204183 .
currently unit conversions are in the code base, not as plugins. if you want this, you can either code it in the app, or refactor it to have plugin unit conversions.
but you're the only one asking for this so doing it as plugins might be overkill, unless you find an easy way
What would be the best way to add custom unit conversions. I want to convert some financial data from unit to unit. I assume unit conversion plugin support should be integrated?