Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
AM Line Chart change from default smooth line to regular line
-
Is there any way to change the default smooth chart line to a non-smoothed line, perhaps with your angular directives?
I'd like to fix things like this:

I'd like to be able to see the steps in the line anyway.
I noticed in the AM charts website that you can choose smoothed line like below:
"graphs": [{"type": "smoothedLine",}So I tracked down the property here.
Then I tried to add this to the options:
graphs:[{type:'line'}]But it still looks the same to me.
In case you'd like to see the entire options code here it is:
options="{ valueAxes:[ { axisColor:'black', color:'black', title: 'Temperature °F', titleColor: 'black', fontSize:26, titleFontSize:26, minimum:0, maximum:160 }, { axisColor:'black', color:'black', title: 'Firing Rate %', titleColor: 'black', fontSize:26, titleFontSize:26, minimum:0, maximum:100 } ], graphs:[ {type:'line'} ] }" -
I just noticed that adding the "graphs" to the options adds an extra legend item. See below:

-
@mihairosu
I'm not sure how you are using thema-serial-chartdirective (post it up). But if you specify theseries-x-pointattribute it will use the point's plot type (set on the point edit page) or you can explicitly set it using theseries-x-typeattribute. You can also set thedefault-typeattribute to change all of the series' types. -
The series-x-type was exactly what I was looking for.
I did just notice that it was in your documentation too. I do remember looking that over, but at that time I didn't understand what I was reading. It's all getting more and more clear.
Thanks Jared.