Chart inconsistencies when using Remote JSON vs Local JSON
I built 3 charts in Architect using a local JSON store to test the data - they look great. When I switched the source store for the charts to the remote server the Line and Radar charts had issues while the Bar chart was OK. The JSON is EXACTLY the same in both cases. Nothing changed except the URL for the ajax proxy. When I switch back to local the charts display correctly. This issue is consistent in all browsers.
Here is the JSON - again this is exactly the same for both remote and local. I double checked it in the Chrome inspector and in Firebug.
Again, all 3 charts use the same JSON store. With remote the Line chart is completely broken - it appears as though it will work while rendering but the line appears and then immediately "animates" off the screen. The Radar chart is missing the X labels.
I reverted back to 4.0.7 and have the same issues.
There appears to be a timing issue when loading a remote store because occasionally the X labels will show up on the Radar chart. Some charts may try and render before all the data has been received???
UPDATE: I was able to get the line graph working by modifying the Model the store was tied to. The model was typing INSTANCE and SCORE as strings - when I removed those types the line graph rendered correctly. Why would the line graph be so finicky about the types when the bar chart doesn't care either way?
Clarification on original post: I had created 2 stores/models, one pointing to a local JSON file and the other pointing to a remote JSON file. The JSON is identical - the only difference between them was the typing of the second (remote) model as described above. When the typing was normalized between the 2 models the line and bar charts worked fine. The only problem I'm left with is the inconsistent rendering of the x-axis labels of the radar chart. When using the remote JSON it renders those labels less than 10% of the time. Using the local JSON they render perfectly 100% of the time.
I'll see about putting together a sample project to send in.