Hi,
I have 2 questions:
1- Is it possible to change brush color if value is positive or negative?
I'd like to have the bar green if positive and red if negative.
2- How can I format the tooltip number?
Thank you.
You can use the option negativeBrush for changing brush when it is negative:
https://www.igniteui.com/help/api/2014.1/ui.igDataChart#options:series.negativeBrush
You can use a tooltip template when you want formatted values. Here is a sample for that:
https://www.igniteui.com/data-chart/series-tooltips
Sincerely,
Nadia Robakova
When I use negativeBrush the serie doesn't show.
{ name: "serie3", type: serie3Type, //size:{ width: 20, height: 150 }, title: asseY3, isHighlightingEnabled: true, isTransitionInEnabled: true, xAxis: "xAxis", yAxis: "yAxis", valueMemberPath: asseY3, showTooltip: true, markerType: serie3Marker, markerBrush: serie3Color, markerOutline: serie3Color, brush: serie3Color, outline: serie3Color, thickness: 2, negativeBrush: "red" },