Skip to main content
1-Visitor
May 5, 2017
Solved

Get line for points in XY chart

  • May 5, 2017
  • 2 replies
  • 7257 views

  Hi Ankit Gupta

There are couple of questions . Please help me .

1)  Though the QueryPropertyHistory returned exact values when I executed the service, the values of properties shown on mash up was trimmed one. How can I avoid this? I need exact values. The baseType of property  is NUMBER

2) I remember  for one of my question How to show Fast Fourier transform for a set of readings from accelerometer in mash up? u had said to use seriesType1 property of the xy widget to line to get a line. I didn't find this in XY chart. Its present only in time series chart. How can I get line view here?

Thanks,

Azim

Best answer by ankigupta

Try setting Yaxisformat property of TimeSeries Chart to something like 0000.00000

2 replies

5-Regular Member
May 5, 2017

For Query 1:

Grid widget has the option to format the Columns. Go to Dropdown->configure Grid columns.

Select the Property and open Column Renderer & State Formatting tab.

Change the Format according to your requirement.

ahawaldar1-VisitorAuthor
1-Visitor
May 5, 2017

Hi Ankit Gupta​,

I need to display exact values on time series chart.  Not on the grid widget. Please help me to achieve the same on time series chart.

Thanks,

Azim

ankigupta5-Regular MemberAnswer
5-Regular Member
May 5, 2017

Try setting Yaxisformat property of TimeSeries Chart to something like 0000.00000

5-Regular Member
May 5, 2017

For Query2:

I can find the SeriesType1 property in xy chart widget properties. Are you using version 2 charts?

ahawaldar1-VisitorAuthor
1-Visitor
May 5, 2017

HI Ankit Gupta​,

For a plain XY chart widget, i.e. no binding has done yet, I can see this SeriesType1 property in xy chart widget properties. Once I bind All Data of returned data from QueryPropertyHistory, this SeriesType1 becomes invisible.

seriesType1.png

5-Regular Member
May 5, 2017

Hi azim hawaldar​,

Use Label chart and bind data with X and Y axis column

Set chart property as following:

Chart Type: Line

XAxisField: X axis column

DataField1: Y axis column

View the chart: