I have successfully created a few charts using standard integers and numbers located within content type fields, it's awesome, thanks!

New idea though, I counted in a view using aggregation the terms of a vocabulary called 'Sugar type' and created a chart, it's awesome and works up to the point of putting the actual types of sugar under each column.

best energy gel

I have put the chart on this page lower down and instead of the label for 'agave syrup', or 'maltodextrin', it uses just numbers instead.

How can I add the labels in?

CommentFileSizeAuthor
#6 chart-issue.png54.72 KBsahilgidwani

Comments

effortDee created an issue. See original summary.

effortdee’s picture

I fixed the label issue by grouping the field that was counted/aggregated in the chart settings near the top.

effortdee’s picture

Component: Chart API » Views integration
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sahilgidwani’s picture

Version: 8.x-3.x-dev » 8.x-3.2
sahilgidwani’s picture

StatusFileSize
new54.72 KB

@effortDee
I have having the same issue, but it is showing index of label if the next value is equal, please check the attachment also which, I am uploading.