Post Closed
914
Views
8
Comments
Loading data into a Pie Chart
Question

Hi there! 

I'm trying to follow your 12th tutorial in which you explain how a Pie Chart can be set up on a Dashboard. 

I'm running into two main difficulties:

1) In your video, you mention that a local variable has to be set and that this variable should be a Record List of DataPoints. I do not have the option in my project to make my local variable a Record List. I've gotten it right to make it a list of DataPoints, but why do I not have a data type called 'Record List'?

2) Then, in your video, you explain that in the preparation screen, we should drag in an action from the 'Charts' section in the Logic tab. We should drag in DataPoint_init. I do not, however, see that particular action in my project -- I only see DataPoint_GetClicked, AdvancedFormat_Init, XAxisFormat_init, YAxisFormat_init, ChartFormat_init. Where can I find DataPoint_init?

Thank you very much for your help.

Regards,

Simone

mvp_badge
MVP

Hi Simone,

1) Though the SourceDataPoinList input parameter of the PieChart is of type DataPoint Record List, you can also assign it a DataPoint List - the platform will convert it for you.

2) DataPoint_Init is an action in the Charts eSpace. You can reference it like any other action from another eSpace.

1) There is not variable called "Record list" why ?

what should i do ?


2)when i am trying to set the value for "Element" field for "ListAppend" i dont get the "DataPoint_Init.DataPoint"


so not able to proceed.



mvp_badge
MVP

Hi Aswath,

I suggest you first learn how to properly use the Platform. It seems that you lack basic understanding of it, and as such, there's little I can do to help you. If you have specific questions about specific topics, I can guide you, but I'm not here to teach you stuff that you can learn from the training videos.

Kilian Hekhuis wrote:

Hi Aswath,

I suggest you first learn how to properly use the Platform. It seems that you lack basic understanding of it, and as such, there's little I can do to help you. If you have specific questions about specific topics, I can guide you, but I'm not here to teach you stuff that you can learn from the training videos.

can you teach me about creating pie chart from excel data.here i have no error,but it doesn't show the pie chart  in browser


You're an MVP and can't explain what you consider basic concepts?

You know its not clear the differences between structures, recordlists, lists, etc, but I guess you're too good for new people.

Also, these online "training videos" don't explain everything, so who are we supposed to ask for help?  I hope you never bother answering any of my questions.  ever.



mvp_badge
MVP

Hi John,

Killian is the OutSystems MVP that for the longest number of years helps the most on the forum, and knowing him, he for sure does not think he is too good for people. I am sure he didn't mean to upset you in any way. 

Basic concepts can be learned on the Learn pages and documentation. Many people start their journey with OutSystems just be straight going into coding, and then run into problems that they then drop (many times badly asked with too little info) on the forum. I agree with Killian that following basic training and googling first the documentation before asking something on the forum, is a better (and more fun way, I think) way to learn the concepts of developing software with OutSystems.

You can ask questions on the forum, and people will try to help, or people will refer to documentation, sometimes people are not even able to formulate a proper question, and we ask for more information.

And last but least, also MVPs and Champions do not have the answer to every question.

Regards,

Daniel

mvp_badge
MVP

Hi John,

Did you realize you are reacting to a post I made in October 2016, so about 7,5 years ago? A time when MVPs didn't even exist, and I was just another forum member? I truely hope people don't hold you accountable for what you said 7,5 years ago 😉.

I'm closing this post now, as I want to prevent meta discussions. Reach out to me via PM if you feel the need to further discuss.

In Simple steps you can Add PIE chart in screen.

1. Create aggregate with required table you want

2. Now On which param you want to show pie chart. Add grouping to that.

3. Just access 3 params Label, Count, Color 

4. Add pie chart to screen and 

       1. Source will be Aggregate
       2. Label, Count, Color will be the params need to bind from out of aggregate.


And result will be

For more info You can check this: