My charts are not showing all the data points.
Below shows majority of my data points. These are printed out using the same source as the chart above. Is this a bug? Yesterday, it was only 1 set of data point not shown and now it more of them are not shown. Furthermore, if i sort by Highest number of rejects, the last data point is not shown.
Hi Shawn,Please check the below pointers in your implementation:-1.) You are passing all the data in "datapointlist" without any data limitation/filter, 2.) Check for any unexpected errors while appending the data.If you can provide the OML will give you the exact solution.Regards,
Hi Rai,
Im not able to provide the OML due to security reasons. However, regarding point 1), does this mean that there is a limit to the amount of data points the system can process? I want to show all info shown in the image and this is my curren table config. Each DataPoint points the the same info shown in the listing. Column 2 is the Label, Column 3 is the DataSeriesName and Column 4 is the Value
Regarding Point 2, the data was rendered on the screen using the list widget without any issues. So i assume if the data is viewable in a list, it should mean the Charts received the correct values.
Thanks for your response!
Ok!Try to append your aggregate data in the variable(Datapoint list), you can follow the below steps:-1.)Create a new action and call it as a "onafterfetch" of your existing entity.2.) In the newly created action Append the aggregate data to the local variable(Datpoint list), you can search for Datapoint it will be available in your structures section.3.) Change the mapping of your chart with the newly created Local variable.By this, you will be able to debug and will get more clarity if your data is appending properly or not. Please let me know if you have more queries.Regards,
Hard to help without OML, but there's 2 things a bit odd :
1) why are your data in a list of 'AdvancedDataPointFormat' making you need mapping on the widget. Can't you use the proper type in the output of your dataAction ?
2) it stops working at label SE, that one doesn't show and everything after that has no values. For sake of test, leave that one out of your query.
Dorine
Hi Dorine,
Thanks for helping out. So here is a brief overview of the changes I've made.
Dataset used
The info to be shown in the chart was extracted from my outsystems entity and processed using "Fetch from other data sources" in data points to be shown in the charts. I've changed from 'AdvancedDataPointFormat' to 'DataPoint'. I used the previous to test out DataPoint formatting. See Image below for Server Action used to extract Data. Data is parsed and assigned to AllData variable which is a List of DataPoints.
Data to Display
I rendered the data extracted from the Server Action shown above into a List Widget and the below info is shown on the screen. First Column = Label, Second Column = DataSeriesName, Third Column = Value.
Charts Generated
Seems like now, it stops at TTMDE.
I've removed TTMDE and SPP to see if it will show data from FS but the below image was displayed instead. For some reason anything after SOM is not rendered even though the data extracted was correct. This can be seen from the Data to Display image above.
imho it is not TTMDE, it is "whatever comes after SE", that one is in your list but doesn't show up as a tick on the chart. as I said : try to remove SE
are there any errors in the console ?
I misunderstood your statement. Thanks, this helps alot. I've narrowed down the problem entries to "SE" and FI". without these, it is able to render anything after "SE" stops at "FI" then anything after "FI". Now the only issue is that, why are these two entries causing problems.
Regarding Errors in console, yes there are but i think its related to our network security as this is shown throughout all our outsystems apps.