32
Views
4
Comments
[OutSystems Charts] How to create a pie chart to show doctors specality and count
outsystems-charts
Reactive icon
Forge asset by OutSystems
Service Studio Version
11.55.24 (Build 64186)

Im facing an issue in the pie chart data points .  DataPointList' requires a value of 'DataPoint List' data type. Either change the value of the 'DataPointList' argument, or define a mapping from 'Doctor Record List' to 'DataPoint List'.

+-*/andornotTrueFalse=<><><=>=( )[ ] 


Screenshot 2025-06-05 123315.png
2025-04-14 11-22-14
Aditi Saraswat

Hi @Balu K,

You can map the highlighted data from the image to resolve the error you're encountering.

Are you retrieving that data from GetDoctors.List? If so, you can close the popup and map the relevant data accordingly.

Hope this helps.

Thanks.


2023-06-13 12-29-43
Sakthivel P

Hi @Balu K,

You can directly map from GetDoctors aggregate.

For example, suppose you have columns like Speciality and Count map Speciality into the Label and Count into Value.

UserImage.jpg
Balu K

hi @Sakthivel P can you show me that client action and local variable attributes


2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Balu K ,

The error you're seeing means the DataPointList input is expecting a list of DataPoint records, but it's getting something else. To fix it, either use a Data Action that returns a List of DataPoint, or manually assign a valid list to the widget. 

Are you able to share your OML to give you a more detailed guide?

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