So I am trying to use dataClasses in my map but my problem is the map data values are returning as an object so I can show multiple data in tooltip.
Data structure look like that:
[["BC", {value: "0.14", change: "-0.18"}], ["AB", {value: "0.1", change: "0.14"}]]. ( Doesn't work)
[["BC", 0.14], ["AB", 0.1]]. (Works)
Question is, how can I make the dataClass work on "value" or on "change" attributes? currently it only works if the value is a number or string but not an object.
When I use the value as object, the data classes are totally discarded.