In the JSON file “StreamingHistory0” it lists “endTime”, “artistName”, “trackName”, and “msPlayed”. I’m pretty confused because I thought I should make “i” represent “msPlayed”, but should it instead represent the number of each track in the array? I want the height of each bar to be changed by “msPlayed”, but I’m not sure what the x-axis should be. “tracks” was just a name for the variable representing the number of a track in the array.
As far as println() it worked when I was using “trackName” and “artistName”, but when I changed my code to what it currently is it no longer displays anything but errors. I wanted it to display “msPlayed”.
I’m not sure if I’m making sense, so apologies if I’m losing you. I have no coding experience and I am DEEPLY confused.