Line Widths in Graphs.
Posted: Mon 15 Feb 2021 12:45 am
Hi all,
For those who understand HighCharts better than myself....
I have changed the Width & ranges selector in my http://weather.inverellit.com/graphs.htm page, which uses an older version of cumuluscharts,js.
The actual page now references:- <script src="js/cumuluscharts-old.js"></script>.
I'm in the process of updating http://weather.inverellit.com/trends.htm to incorporate the changes I made in the older JS file, but the Line widths seem to be handled differently in the newer file.
All I did in the old version was change it here.....
Simply made the Temp thicker so it stood out.
But the newer version seems to take a different approach to line widths in the code.
To @mcrossley
Would it be worth adding a version number like say 3043 to the beginning of the JS files?
I know they are not changed in every release, but if the last release number where an update occurred was noted it would help those of us who occasionally sift thru older files.
There are the Date Stamps of course, but they can be knocked out of wack by some unzip tools, and once an edit is made the version the scripts shipped with is hard to ascertain.
Thanks
Phil.
For those who understand HighCharts better than myself....
I have changed the Width & ranges selector in my http://weather.inverellit.com/graphs.htm page, which uses an older version of cumuluscharts,js.
The actual page now references:- <script src="js/cumuluscharts-old.js"></script>.
I'm in the process of updating http://weather.inverellit.com/trends.htm to incorporate the changes I made in the older JS file, but the Line widths seem to be handled differently in the newer file.
All I did in the old version was change it here.....
Code: Select all
series: [{
name: 'Temperature', lineWidth: 4,
zIndex: 99
}, {
name: 'Dew Point'
}, {
name: 'Apparent'
}, {
name: 'Wind Chill',
visible: false
}, {
name: 'Heat Index',
visible: false
}, {
name: 'Inside',
visible: true
}],
But the newer version seems to take a different approach to line widths in the code.
To @mcrossley
Would it be worth adding a version number like say 3043 to the beginning of the JS files?
I know they are not changed in every release, but if the last release number where an update occurred was noted it would help those of us who occasionally sift thru older files.
There are the Date Stamps of course, but they can be knocked out of wack by some unzip tools, and once an edit is made the version the scripts shipped with is hard to ascertain.
Thanks
Phil.