Reputation: 15
I'm rendering the line chart using code repository function but not getting color for that line chart.
I'm using 2D chart so based on the trend I want dynamic colored chart like if it's going up then green, if going down then red and if stable then black.
so I'm not able to produce code to color the line chart using code repository. If anyone have any idea then please drop here!
Upvotes: 0
Views: 26
Reputation: 1359
Right now, Chart XY widget doesn't support this advanced functionality but you can configure dynamically colored lines using the new Vega chart widget.
https://www.palantir.com/docs/foundry/workshop/widgets-vega-chart
Upvotes: 0