I'm having a few issue with the following piece of code:
My controller defines 'value' field, and the chart shows up, but I'm still having a few problems.
1) How can I call this directive with different a field variable without defining almost the same directive again?
Say I have 'value' and 'value2', and I want to generate chart for each one of them, and call the same directive without explicitly defining it for each of the values.
2) How can I get "field: 100 - 'value'" to resolve in a directive? I don't want to have view logic in my controller
3) How do I set colours for this chart? Colour parameter in k-series doesn't work even if I pass it from my controller, and neither does k-series-colours
Thanks in advance for your help.