Line Graph
Question

Hi can I know how can create line graph which consist of two lines? like comparing.  I tried but I can only get one line.

line.PNG

Hi Sharifah,

You can refer to this documentation : https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/Charts_API/Create_Line_and_Area_Charts

Pass the value to DataSeries find the example below where I have passed the employee name (ABC and XYZ) which will create two lines as per their values.



Hope it will help you.

Regards,

Pavan R

Hi Sharifah,

the datapoints have a 'series' property.

If not filled all points are assumed to be of the same series, and in a line chart that means the same line.  

So give all the points that should be on the same line, the same value for series.  If you have 2 series, there will be 2 lines, etc.


Dorine

Hi Sharifah,

You can refer to this documentation : https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/Charts_API/Create_Line_and_Area_Charts

Pass the value to DataSeries find the example below where I have passed the employee name (ABC and XYZ) which will create two lines as per their values.



Hope it will help you.

Regards,

Pavan R

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.