cancel
Showing results for 
Search instead for 
Did you mean: 

Max 20 bars in a Makit chart?

jpenninkhof
Product and Topic Expert
Product and Topic Expert
0 Kudos

I noticed that even though my data set contains 52 categories (every week in a year), by bar chart will only show the first 20 categories (and they also won't appear in the range slider).

Does anyone know whether this is a hard set limit in UI5, or can it be configured/tweaked?

Accepted Solutions (0)

Answers (3)

Answers (3)

jpenninkhof
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks guys, that's helpful and helps me to narrow it down a bit. It indeed doesn't seem to be a limitation in the number of categories, but perhaps number of data points or data-permutations (categories x series)?

Just like you, I have also setup a jsbin: http://jsbin.com/aMefuRuqI/2/edit

In this example you can see that the last week shown is week 33, while data is provided up to week 52.

ChandraMahajan
Active Contributor
0 Kudos

Hi,

I recreated chart example here http://jsbin.com/oNuNuHAl/4 as per this example, I am able to see 34 categories. I guess based on screen size, max bar size is getting changed may be due to responsive design. I am not sure if this is correct answer though.

Regards,

Chandra

AndreasKunz
Advisor
Advisor
0 Kudos

Hi Jan,

I'm not an MAKit expert, but to me it seems like there is no such limit. Check this:

http://jsbin.com/aku-makit/1/edit

MAKit seems to decide the number of columns to render depending on the initially available width. If you "Run with JS" the example and then resize the preview area, the number of columns will remain stable (the columns resize). But if you press "Run with JS" again, tehre will be a differnt number of columns.

And yes, given enough width, there will be more than 20 columns.

Regards

Andreas