105
Views
9
Comments
[OutSystems Charts] chart with labels(Month+" ''+Year) not rendering correctly
outsystems-charts
Reactive icon
Forge asset by OutSystems
Application Type
Reactive
Service Studio Version
11.54.6 (Build 62311)
Platform Version
11.21.0 (Build 39257)


Trying to create column chart with the latest charts version, with the following setting. If I put value type as text or integer it shown up nothing if I put value type has date time it renders the chart with the weird labels. Please help. 




2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi srinivas, 

can you share more, 

  • your source data "actual score", what is in there, where does it come from ?
  • your datapoint list data when testing (screenprint of debug or put them as table on screen and show screenprint)
  • what is going on in all these different ListAppendAll's ?
  • a screenprint of your rendered chart

Dorine

UserImage.jpg
srinivas aravala


Below is the DataPointList , where Value is the count. 







UserImage.jpg
Andreia Gonçalves

Hi,

Can this help you?

Thanks

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Ok,

so for starters, I can confirm it shows weird labels when you choose option DateTime for value type.

But just choosing option Text for ValuesType looks fine to me.

When you choose datetime, i think the component does understand your input values correctly, because the values i see in my test example match the unix timestamp of the dates i have used...

I can't really imagine in a business application there is often need to show information in this way to a user, though, I'm not sure if this is intentional or a bug.

You can also see that for datetime, the ticks are off to the left of the column, really don't see how this could be intentional.

Dorine


UserImage.jpg
srinivas aravala

Hi, If I use value type as text it is rendering the labels correctly but the data is totally messed  up . It shows label as March 2022 and it stacks December 2022 counts.

Thanks




2021-09-06 15-09-53
Dorine Boudry
 
MVP

that is indeed a problem with the new version of stacked column charts.  

If you want to use it, you will have to make sure that for every single combination of label and series, there is a datapoint, giving the 'missing' datapoints a value of 0.

I have reported this problem in the announcement of this new charts component version (see my remark below)

also see my remark below, in the new component, there is still charts_v1 available, you could also still use this one, which doesn't fail for 'missing' datapoints.

Dorine

2021-09-06 15-09-53
Dorine Boudry
 
MVP

hi,

looking a bit further into this, I think this new chart version should be used with caution 

(i.e. or wait a couple of months until it is more stable)

I'll add some remarks about this into the announcing post of this version, rather than here.

Dorine

2024-08-06 11-20-33
Ronnie Verheij

I had this too when I had 2 datapoints for the same x value. So 2 or more y-axes values on the same date (x-axis). 


Besides this a LabelRotationi of let say 55 will make the labels more readable

2022-11-12 11-28-30
Gonçalo Martins
Staff

Hello @srinivas aravala 

To make this more efficient and collaborative for the community, please share a sample OML where that issue can be reproduced. That way, the community members can take a look without investing more time in implementing the use case and guessing.

Cheers,
GM

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