hcarter333 / ham-radio-freedom

0 stars 0 forks source link

Update Google Image Charts API to javascript #17

Open hcarter333 opened 6 months ago

hcarter333 commented 6 months ago

The Google Images Charts API is deprectated

image

Update to the Javascript API.

hcarter333 commented 6 months ago

Change this line first (the pie charts)

hcarter333 commented 6 months ago

Started a preliminary version of charting that builds the html statically, and then adds the charts. It works ok:

image

The only downside is that the original code did not have separate cells for the charts. That's ok though. Just add another row for the charts and another row for the buttons. Then , the method that does the charting at the moment, will just call the charting API.

hcarter333 commented 6 months ago

I did a test deploy and I did not break the charting: image

hcarter333 commented 6 months ago

Also, we're about to have a Python upgrade issue:

image

hcarter333 commented 6 months ago

I did the professor portion of the exercise:

Move the charting routines to a .js file independent of the rest of the ham_example.js semi-train-wreck.

You can find the differences in the most recent commit.