angular-dimple
angular-dimple copied to clipboard
angular expressions as value for any property other than `data` ??
Unless I am doing something very wrong, it seems like angular-dimple
does not support angular expressions for any value other than the <graph>
's data
attribute.
For example, instead of this:
<graph data="graphData">
<x field="Month"></x>
<y field="Sales"></y>
<line field="storeId" value="2"></line>
<line field="storeId" value="1"></line>
</graph>
doing something like this:
<graph data="graphData">
<x field="Month"></x>
<y field="Sales"></y>
<line field="{{fieldValueSetInScope}}" value="2"></line>
<line field="storeId" value="1"></line>
</graph>
See: https://jsfiddle.net/bkent/2mL197mv/
I am finding it very limiting to have to define charts statically. Are there any plans to support angular expressions in other fields??
yes, this is not handy at all.