I am trying to create breaks in a csvlayer to differentiate points in my data by color or size. Ideally, I would be able to do something similar to what is in the tutorial found here: Class breaks renderer | ArcGIS API for JavaScript 3.22 . However, this doesn't seem to work as all the points are displayed as the same color. The code posted below is what I am currently working with.
Thank you,
Nathan
Hi there,
You have to pass in an instance of symbol to addBreaks method. You are passing in a color object in your code.
I modified your test app.
-Undral
Here is the code that I am trying to run. When I run this, all of the points are the same color.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.