How is your experience with the OutSystems Community?
9
Views
2
Comments
How to create Charts\AreaChart with two  DataPointLists?
Question
Application Type
Reactive

Hi there,

I am wondering i am creating Charts\AreaChart, but there is only one DataPointList. But in the picture:

there are two series, how to put one DataPointList in Series 1, and other DataPointList  in Series 2?

regards and thanks

UserImage.jpg
vikas sharma
Champion

Hi,

could you please show how you are passing 2 datapoint list to chart. one screenshot please or oml if possible.

regards

2021-09-06 15-09-53
Dorine Boudry
 
MVP

It is a single data point list.  

You attribute each datapoint to one of your series by setting it's series property.  Not sure how it is called exactly, 'series' or 'seriesname'.

You give the series a color by adding a Series Styling addon for each series to your Chart widget and set the color there, NOT by setting the color of the datapoints. (see your other post on how to do multiple series styling)

Dorine

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