Hello everone,I want to make a line chart as you see in the screen shot. But I use two different entities. The documentation isn't enough to understan can you help me how should I arrange datapointlist? if I use one list I can only show one line of one entity. If I add with plus button new value and label area then I could be able to show a dot. I am missing sth. Can any one help me to handle this issue?
Hi,
In the line chart, a line represents a series, and the recommended approach is to prepare a single DataPointList that contains data for all series.
In your case, this can be done in a Data Action where data is fetched separately from both entities and then merged into a single list using ListAppendAll. Each record in the resulting list represents one data point and includes the value, the date used as the label, and a field that identifies the series .
It is important that the data from both entities uses the same date granularity so the X-axis labels align correctly and the lines are displayed consistently.
I attached a sample OML to reference for implementation.
Result:
Thank you for solution Mihai Melencu