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.
Hi srinivas,
can you share more,
Dorine
Below is the DataPointList , where Value is the count.
Hi,
Can this help you?
Thanks
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.
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.
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.
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.
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
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