13
Views
2
Comments
Chart: skipping dates I don't have
Question

Hi all,

I'm having my first problem with graphs (LineChart): I have some dates with relative values (see IMG1).

I don't have values for saturdays and sundays ... but the graph is showing on the X the dates I don't have, creating a "false" graph (see IMG2).

Is there a way to "remove" the dates where I don't have any relative value ?

img1.png

Rank: #4139

here is my output

img2.png

mvp_badge
MVP
Rank: #78

Hi Luca,

I tried to implement the mentioned objective in a sample application but couldn't able to achieve it after various trials..

As a work around, I guess if you just append two records (missing series records) explicitly for Saturday and Sunday (i.e. 10 - 11 Oct in your case) record with 0 DataPoint value, the output will be a correct graph.

See this sample app - LineChart

Refer this post (It didn't worked for me!): https://www.outsystems.com/forums/discussion/62372/chart-how-to-hide-data-label-having-value-zero/#Post243586


Hope this helps you!


Kind regards,

Benjith Sam