42
Views
1
Comments
Data Points in Area charts -Traditioanal web
Application Type
Traditional Web
Service Studio Version
11.51.2 (Build 56209)
Platform Version
11.14.0 (Build 34092)

Hello everyone I'm new to the OutSystems platform. can you please help me with how to do the data points in static view in Area charts. I'm using AreaCharts widgets. Are there the points are shown only when the user hovers the data points values, can please help me to do the data points with different colors for different user values with a static view.


Screenshot (13).png
2020-03-25 15-04-11
João Ferreira
Staff

Hi @Muruga Nandan,

If you want to display the points labels you should follow @Akshay Deshpande 🚀 suggestion and change the ShowDataPointValues attribute.

To display always the points, you will need to config the HighCharts plotOptions on the AdvancedFormat/HighchartsJSON attribute: 

"{
    plotOptions:{
        series: {marker:{enabled:true}}
    }
}"


To have various colors by series we need to config other parameters, it will depend on your use case, we have multiple ways to reach the same result:

1st option |Points with a specify color: After your Aggregate, build the list of custom points (as AdvancedDataPointFormat Record List) which you want to change the color. In the chart you will use the aggregate on the SourceDataPointList input parameter and the custom list on the AdvancedFormat/DataPointFormats input parameter (ex.: WebScreen1);

2nd option | The perfect SourceDataList: Build your entity with the attributes you need and the color attribute. You can always build it in a local variable under the page you are using the chart. (ex.: WebScreen2). Here I've change the plotOptions too, so we can have a different fillColor on the chart.

Let me know if this works for you,

Regards,
João Ferreira
 

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