Hey There Esri Community!
I'm having a little issue here with the graphs inside the popupTemplate.
I was looking at the following example:
which does a great job in describing the process of creating a pie-chart inside the popupTemplate,
However there is couple things that I don't get from this example that's crucial in order to make it work properly .
title: "<b>Count by type</b>",
specifically this line:
I understand that we need to pass the fields which according to them the pie-chart is getting charted, however when I pass my field "Number Of Local Employees" I get one full pie chart with one color, but that's granted I passed only one color, However in the posted code above, the example passes only one field as well and get multiple slices in the same pie chart.
This is somewhat crucial because when I look at the documentation for the tooltipField
it says that it accepts only a string compared to the fields which accepts an array of strings, so in case I'm passing multiple fields I can only show one type of tooltip in relation to the entered field.
**Regardless of that, I struggle to show any tooltip on hover.
I appreciate it if you guys can have a look at it and point out if I'm missing missing,