However, when I get the other information to display the font is very large and in a circle. I have 32 rows on my bar chart, and it is difficult to see the “extra” information because it overlaps the Y axis values and the “extra” information overlaps each other.
Can you provide any guidance on how I could better display the “extra” information? It is one field that is a text value. Ideally, I would have the “extra” information display by hovering over the bar (similar to how the count for the bar does).
I submitted a ticket for this, but have not gotten a response.
Hi @Nikita_Kurguzov,
Thanks for this info. The link you sent was also very helpful!
There is something else that I am trying to do, but I can't figure out the proper syntax. I want to use a field in the SharePoint to change the color of the bar in the chart. Below is what I have, but I do not see any color changes. Can you help? Thanks in advance.... Rhonda
I am not able to get this to work. I do not get errors, but different colors are not showing up in my chart. Just a reminder that I am using the chart with SharePoint 2019 on-premise.
My first question: Does the word 'name' in the line switch(config.series[i],name){
refer to the internal name of the column that I am using for a match in the Case statement? I have tried the internal name of the field, the display name of the field, and just the word 'name'.
Also, there is something wrong with the line config.series[i].color = '#ff0000'
If I leave that statement in the code after the default (in the Case statement), my chart doesn't render properly. My labels are missing from the chart, but there are no errors displayed in the console of the Chart Preview.
However, if I comment out the line just after default, the chart renders as expected with the labels. This leads me to believe that the config.series[i].color = '#fff000'
is not the right syntax?
I also tried config.series[i].colorField = '#fff000'
which did not work either.
Dear @rhonda,
In this case, I was using the value of the field which was transferred as the name of the series. To see what you have inside of your series, you can do this: