When you depend on others for help, as we do here โฆ a lot (thanks, everybody) โฆ if you donโt revisit software using, for example, Google Charts, it can become squidgyware?! We used to reference Yahoo YUI widgets, especially regarding their calendar widget โฆ and โฆ well, yes, class โฆ yes, Henry โฆ
Gantt Charts โฆ
- do not grow on trees
- do not reference dates โฆ which can grow on trees
- never take prisoners
โฆ thanks for your grisly, but no doubt accurate โฆ and very precise and detailed offering โฆ 3 points to Gryffindor!
Yes, we based the Gantt Chart PHP logic on, probably the latest Google Chart PHP logic weโd tackled just previous, which probably used Yahoo YUI calendar widgets. Not a problem at the time โฆ but time moves on. Yes, Henry you have a canary โฆ sorry, caveat โฆ yes, go on โฆ
- Gantt Charts never move on
โฆ the class gets the picture now โฆ sorry we proved that for a while โฆ
โฆ we canโt gantt โฆ
โฆ but in our defence?
So, what did we relearn from our revisit to our inhouse Gantt Chart interfacer we talked about at Google Chart Gantt Chart Primer Tutorial?
- keep thinking simple โฆ if you know no better
- the web browser web inspectors are your best debugging tool
It panned out that just one line of code was stopping us. One check before that codeline, and things starting working, even though there was lots more Yahoo YUI Calendar widget code to confuse us. Weโd have been faster if weโd have taken more notice of adage 1 above!
So feel free to, hopefully, now, get somewhere trying thechanged gantt_chartphp PHP coded inhouse Google Chart Gantt Chart interfacer.
Previous relevant Google Chart Gantt Chart Primer Tutorial is shown below.
Seems a fair time back we were discussing the โselectโ event in relation to Google Charts functionality, but probably it isnโt. And perhaps it was a fair while back, but maybe it wasnโt, that Google and its Charts team introduced a new chart called the Gantt Chart, which a lot of people out there will know well, or less well, as a Project Management tool.
What can a Gantt Chart help with? Not looking anything up here (but you might) we think the Gantt Chart is great for setting deadlines and to turn up with in meetings focussed on outcomes (more so than incomes โฆ chortle, chortle).
Gantt Charts โฆ
- establish date ranges for when tasks (or activities) should start and when they should complete
- allow for estimates of task โpercentage achievedโ
- define dependencies, as in, โdoes this task depend on the completion (or some other criteria) of another taskโ
Okay, so we are in the โwhenโ of life, linking to other aspects like โwhyโ or โhowโ or โwhereโ perhaps. This means there are synergies with โฆ
- Calendar Chart
- Timeline Chart
โฆ as we last were talking about with Google Chart Select Event Calendar Timeline Post Tutorial as shown below โฆ and so, in our business logic โselectโ event logic, we mention conversions to these other chart types. Along the way we got great help from this very useful link, so, thanks.
Software wise our new Google Chart Gantt Chart integration involved โฆ
- gantt_chart
php
- csv
php is the changed CSV spreadsheet export functionality supervised PHP programming source code as per changes (to cater for spreadsheet CSV exports involving this type of date data types)
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Gantt Charts information โฆ via Google.
This extra โselectโ event functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Gantt Chart title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live run for โฆ
Stop Press
It pays to stay informed of changes, here on 6th October 2016. At Google Charts, the โvisualizationโ call has changed and weโve changed accordingly as per gantt_chartphp is the changed PHP programming source code as per changes. We apologize for this โoutageโ on this Google Chart โฆ for how long โฆ. weโre not sure โฆ oops.
Previous relevant Google Chart Select Event Calendar Timeline Post Tutorial is shown below.
With our Google Graphs API, or Google Chart Tools, web and mobile applications changes today, as with WordPress 4.1.1โs Google Chart Select Event Calendar Timeline Post Tutorial, we chip away at a useful generic improvement. We hook into the PHP server language strength of allowing the POST method processing of HTML form data, to get around the URL โGETโ (method) length restriction all web servers have, usually at about 2000 characters (we recommend the following background reading regarding this) โฆ though with our web server it seems to be a smaller limit โฆ anyway. Our guinea pigs today are the Google Charts Calendar Chart and its relationship with the Timeline Chart, following in from yesterdayโs Google Chart Select Event Calendar Timeline Trend Tutorial as shown below, we are, again, talking about tools to monitor trends over time, allowing for onclick (or Google Chart โselectโ) functionality to be added for โฆ except that today we have it working for quite a few more date โdataโ values โฆ
- Calendar Chart (and its synergies with)
- Timeline Chart (for trend analysis, perhaps)
So we offer a conversion from Calendar Chart to Timeline Chart, at times after when the user has selected their second calendar date to โselectโ. The opposite way around, with the Timeline Chart, we allow conversion to a Calendar Chart with any one โselectโ event.
These Google Chart Calendar and Timeline Chart changes, with their generic โreadinessโ aspects, involved โฆ
- calendar_chart
php is the changed PHP programming source code as per changes
- timeline_chart
php is the changed PHP programming source code as per changes
- csv
php is the changed CSV spreadsheet export functionality supervised PHP programming source code as per changes (to cater for spreadsheet CSV exports involving date data types)
- gchartgen
js is the changed Javascript programming source code as per changes โฆ generic Javascript involving our new โฆ
function iftoobig(urlin) {
if (eval(urlin.length) < 1000) { // vs 2000
return urlin;
} else {
var dss, iy, ij, qns, qname='', qval='', newfbit='';
var ournewf = document.getElementById('postform');
var ourbae = document.getElementById('bitsatend');
if (ourbae != null) {
var qparts=urlin.split('?');
if (eval(qparts.length) == 2) {
var aparts=qparts[1].split('&');
if (ournewf == null) {
var ds=urlin.split('&data');
var qp=ds[0];
if (eval(ds.length) > 1) {
for (iy=1; iy<eval(ds.length); iy++) {
dss=ds[iy].indexOf('&');
if (dss != -1) qp+=ds[iy].substring(dss);
}
}
if (1 == 2) newfbit="<form style='display:none;' id='postform' method='POST' action='" + qparts[0] + "'>"; // "</form>";
newfbit="<form style='display:none;' id='postform' method='POST' action='" + qp + "'>"; // "</form>";
for (ij=0; ij<aparts.length; ij++) {
qns=aparts[ij].split('=');
newfbit+='<input type="hidden" name="' + qns[0] + '" value="' + (qns[1]) + '"></input>';
}
newfbit+='<input type="submit" value="Post Long Values"></input></form>';
ourbae.innerHTML+=newfbit;
ournewf = document.getElementById('postform');
ournewf.submit();
} else {
for (ij=0; ij<aparts.length; ij++) {
qns=aparts[ij].split('=');
newfbit+='<input type="hidden" name="' + qns[0] + '" value="' + (qns[1]) + '"></input>';
}
newfbit+='<input type="submit" value="Post Long Values"></input>';
ournewf.innerHTML=newfbit;
ournewf.submit();
}
} else {
return urlin;
}
return '#';
} else {
return urlin;
}
}
}
We think ideas like this can help with time based trend analysis, and we may be adding sophistication to this over time, in addition to todayโs โrobustnessโ push.
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Calendar Chart information โฆ via Google.
Link to Google Chart Tools Timeline Chart information โฆ via Google.
Weโd like to thank Trading Economics for the interesting U.S. Housing Starts (in 2015) data.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Calendar and Timeline Chart titles, flow on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live run for โฆ
Previous relevant Google Chart Select Event Calendar Timeline Trend Tutorial is shown below.
Our Google Graphs API, or Google Chart Tools, web and mobile applications changes today are specific, so far, to the Google Charts Calendar Chart and its relationship with the Timeline Chart, and, as for yesterdayโs Google Chart Select Event Geo Pie Trend Tutorial as shown below, we are talking about tools to monitor trends over time, allowing for onclick (or Google Chart โselectโ) functionality to be added for โฆ
- Calendar Chart (and its synergies with)
- Timeline Chart (for trend analysis, perhaps)
So we offer a conversion from Calendar Chart to Timeline Chart, at times after when the user has selected their second calendar date to โselectโ. The opposite way around, with the Timeline Chart, we allow conversion to a Calendar Chart with any one โselectโ event.
These Google Chart Calendar and Timeline Chart changes involved โฆ
- calendar_chart
php is the changed PHP programming source code as per changes
- timeline_chart
php is the changed PHP programming source code as per changes
We think ideas like this can help with trend analysis, and we may be adding sophistication to this over time.
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Calendar Chart information โฆ via Google.
Link to Google Chart Tools Timeline Chart information โฆ via Google.
Weโd like to thank Trading Economics for the interesting U.S. Housing Starts (in 2015) data.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Calendar and Timeline Chart titles, flow on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live run for โฆ
Previous relevant Google Chart Select Event Geo Pie Trend Tutorial is shown below.
Our Google Graphs API, or Google Chart Tools, web and mobile applications changes today are specific, so far, to the Google Charts Geo Chart and its relationship with the Pie Chart and Pie Chart Differences (really specifically), as intimated in yesterdayโs Google Chart Onclick Pie Chart Differences Tutorial as shown below, allowing for onclick functionality to be added for โฆ
- Geo Chart (and its synergies with)
- Pie Chart (data wise) and Pie Chart Differences (for trend analysis, perhaps)
So we offer a conversion from Geo Chart to Pie Chart, and Pie Chart Differences, when the Geo Chart data has two numerical data types defined, but weโve baulked at the likelihood of the reverse being very applicable.
These Google Chart Geo and Pie Chart changes involved โฆ
- geo_chart
php is the changed PHP programming source code as per changes
- pie_chart_diffphp (as of yesterday) is the changed PHP programming source code as per changes (from before yesterday)
We think ideas like this can help with trend analysis, and we may be adding sophistication to this over time.
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Geo Chart information โฆ via Google.
Link to Google Chart Tools Pie Chart information โฆ via Google.
Link to Google Chart Tools Diff Charts information โฆ via Google.
Weโd like to thank Worldometers for the interesting population data.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Geo and Pie and Pie Differences Chart titles, flow on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live run for โฆ
Previous relevant Google Chart Onclick Pie Chart Differences Tutorial is shown below.
Our Google Graphs API, or Google Chart Tools, web and mobile applications changes today are specific, so far, to the Google Charts Pie Chart Differences, building on recent work such as yesterdayโs Google Chart Select Event Geo Pie Synergy Tutorial as shown below, allowing for onclick functionality to be added for โฆ
- Pie Chart Differences
โฆ in the sense that there is a known limitation with this chart using the preferred Google Chart โselectโ event.
You will understand from this, that the mechanisms by which Google Charts works differs from chart to chart, and, especially regarding event programming, and the display options, every chart should be considered to be โa different kettle of fishโ.
Tomorrow we want to relate this chart in a more useful way to the Geo Chart, but that is (probably) for tomorrow.
In the meantime these Google Chart Pie Chart Difference changes involved โฆ
- pie_chart_diffphp is the changed PHP programming source code as per changes
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Diff Charts information โฆ via Google.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Pie Chart Differences title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live run for โฆ
Previous relevant Google Chart Select Event Geo Pie Synergy Tutorial is shown below.
Our Google Graphs API, or Google Chart Tools, web and mobile applications changes today are specific, so far, to the Google Charts Geo Chart and its relationship with the Pie Chart, building on recent work such as yesterdayโs Google Chart Select Event Map Overlay Lines Tutorial as shown below, allowing for onclick functionality to be added for โฆ
- Geo Chart (and its synergies with)
- Pie Chart (data wise)
So we offer a conversion from Geo Chart to Pie Chart, but weโve baulked at the likelihood of the reverse being very applicable.
These Google Chart Geo and Pie Chart changes involved โฆ
- geo_chart
php is the changed PHP programming source code as per changes
- pie_chart
php is the changed PHP programming source code as per changes
- csv
php is the changed CSV spreadsheet export functionality supervised PHP programming source code as per changes
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Geo Chart information โฆ via Google.
Link to Google Chart Tools Pie Chart information โฆ via Google.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Geo Chart title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live run for โฆ
Previous relevant Google Chart Select Event Map Overlay Lines Tutorial is shown below.
Our Google Graphs API, or Google Chart Tools, web and mobile applications changes today are specific, so far, to the Google Charts Map Chart, building on yesterdayโs Google Chart Select Event Cache Issue Tutorial as shown below, allowing for the concept of drawing link lines overlayed onto the โฆ
- Map Chart
โฆ adding to our โฆ
- โoverlayโ blog postings
- study of HTML SVG elements
- the โwhereโ feel of our geographical themed blog postings
The CSS โoverlayโ usual suspects coming into play were โฆ
- position:absolute property
- z-index
And what function do we allow once the SVG line is there, overlayed, in place, ready to be hovered over or clicked? We calculate a crow flying distance via โฆ
function great_circle_distance(talis, gnolis, latis, longis) {
var ourdist=0.0;
var rgnol=eval((gnolis) * Math.PI / 180.0);
var rtal=eval((talis) * Math.PI / 180.0);
var rlong=eval((longis) * Math.PI / 180.0);
var rlat=eval((latis) * Math.PI / 180.0);
var deltalong = Math.abs(eval(((gnolis)-(longis)) * Math.PI / 180.0));
var acof = eval(Math.sin(rtal) * Math.sin(rlat)) + (Math.cos(rtal) * Math.cos(rlat) * Math.cos(deltalong)); // via //en.wikipedia.org/wiki/Great-circle_distance ... thanks
ourdist = eval(Math.round((Math.acos(acof) * 6371000.0) + 0.00001) * 100) / 100;
return ourdist;
}
These Google Chart Map Chart changes involved โฆ
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Map Chart information โฆ via Google.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Map title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live run for โฆ
and/or
See this functionality in action applied to two of our recent blog postings โฆ
- HTML/Javascript Where Does It Get Me To Primer Tutorial live
run uses HTML/Javascript programming source code distance_from
html (changed as per distance_fromhtml for overlay line functionality)
- PHP Modularization for Lighthouses in Australia Tutorial live
run uses PHP programming source code //www
rjmprogramming.com.au/PHP/australian_lighthouses.php (changed as per distance_fromhtml for overlay line functionality)
Previous relevant Google Chart Select Event Cache Issue Tutorial is shown below.
Weโre still trying for yet more โgenericityโ with our Google Graphs API, or Google Chart Tools, web and mobile applications today, building on yesterdayโs Google Chart Select Event Email Integration Tutorial as shown below, with integration involving email, yesterday more for non-mobile usage and today, more for mobile platform usage, that we first tried on our recent โguinea pigโ โguinea fowlโ (so yesterday) โguinea baboonโ functionalities (of recent times) โฆ
- Area Chart
- Bar Chart (and Bar Chart Differences)
- Column Chart (and Column Chart Differences)
- Line Chart
- Map Chart
- Pie Chart
It probably comes as no surprise that chart data can be a great conversation starter for meetings or online discussions conducted via email, for example. They say โa picture tells a thousand wordsโ โฆ MMM look at that pie chart over yonder โฆ see โฆ three thousand words โฆ chortle, chortle.
Do you remember yesterday? โฆ
We use mailto links to direct the user to their default client mail supervisors to make all this happen. You will find, with PHP, that you can email without this client email via the use of the mail method.
โฆ Well, our concentration on mailto (that works fine on non-mobile platforms) needed to be balanced with some mobile platform consideration that uses that PHP mail method, so as not to navigate too far away in our iOS appโs WebView.
And we did some work with Google Chart Pie Charts today to add โselectโ event functionality, and to try to stop it using the cache, as we want the iOS app reflect changes we make to things, and be able to let the iOS app user recover from an unforseen problem exacerbated by the return to a bad caching scenario.
We found good advice about this cache issue at this useful link, so, thanks. You may read from this page that there is an HTML meta tag approach to this, but we prefer a PHP approach, and use, up the top of the PHP the code snippet โฆ
header( "Expires: Mon, 20 Dec 1998 01:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
โฆ you will find up the top of the PHP pie_chartphp programming source code.
These Google Chart Pie/Line/Bar/Area/Column/Map Chart changes involved โฆ
- area_chart
php is the changed PHP programming source code as per changes
- bar_chart
php (bar_chart_diffphp) is the changed PHP programming source code as per changes (and changes)
- column_chart
php (column_chart_diffphp) is the changed PHP programming source code as per changes (and changes)
- line_chart
php is the changed PHP programming source code as per changes
- map
php is the changed PHP programming source code as per changes
- pie_chart
php is the changed PHP programming source code as per changes
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Area Chart information โฆ via Google.
Link to Google Chart Tools Bar Chart information โฆ via Google.
Link to Google Chart Tools Column Chart information โฆ via Google.
Link to Google Chart Tools Line Chart information โฆ via Google.
Link to Google Chart Tools Map Chart information โฆ via Google.
Link to Google Chart Tools Pie Chart information โฆ via Google.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Area and Bar and Column and Line and Map and Pie Chart title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live runs for โฆ
No guinea pigs (nor guinea fowl, nor guinea baboons) were harmed in the making of this blog post. Honest, hen!
Previous relevant Google Chart Select Event Email Integration Tutorial is shown below.
Weโre still trying for yet more โgenericityโ with our Google Graphs API, or Google Chart Tools, web and mobile applications today (as with WordPress 4.1.1โs Google Chart Select Event Email Integration Tutorial), building on yesterdayโs Google Chart Select Event Spreadsheet Integration Tutorial as shown below, with integration involving email, that we are first trying on our recent โguinea pigโ โguinea fowlโ functionalities (of recent times) โฆ
- Area Chart
- Bar Chart (and Bar Chart Differences)
- Column Chart (and Column Chart Differences)
- Line Chart
- Map Chart
It probably comes as no surprise that chart data can be a great conversation starter for meetings or online discussions conducted via email, for example. They say โa picture tells a thousand wordsโ so imagine how many a โchartโ tells?!
So today we make use of the fact that for small amounts of data the Google Charts can be shared via the emailing of a URL link as the body of an email. For larger amounts of data we may have to think some more into the future, though weโre half ready because โฆ
- we are using a server side language, PHP โฆ which means that โฆ
- the $_POST[] mentions in our PHP code can eventually be put to good use here, down the track
These Google Chart Line/Bar/Area/Column/Map Chart changes involved โฆ
- area_chart
php is the changed PHP programming source code as per changes
- bar_chart
php (bar_chart_diffphp) is the changed PHP programming source code as per changes (and changes)
- column_chart
php (column_chart_diffphp) is the changed PHP programming source code as per changes (and changes)
- line_chart
php is the changed PHP programming source code as per changes
- map
php is the changed PHP programming source code as per changes
We use mailto links to direct the user to their default client mail supervisors to make all this happen. You will find, with PHP, that you can email without this client email via the use of the mail method.
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Area Chart information โฆ via Google.
Link to Google Chart Tools Bar Chart information โฆ via Google.
Link to Google Chart Tools Column Chart information โฆ via Google.
Link to Google Chart Tools Line Chart information โฆ via Google.
Link to Google Chart Tools Map Chart information โฆ via Google.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Area and Bar and Column and Line and Map Chart title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live runs for โฆ
No guinea pigs (nor guinea fowl) were harmed in the making of this blog post. Honest, hen!
Previous relevant Google Chart Select Event Spreadsheet Integration Tutorial is shown below.
Weโre trying more โgenericityโ with our Google Graphs API, or Google Chart Tools, web and mobile applications today, building on yesterdayโs Google Chart Line/Bar/Area/Column Select Event Tutorial, as shown below, with integration involving spreadsheets, that we are first trying on our recent โguinea pigโ functionalities (of recent times) โฆ
- Area Chart
- Bar Chart (and Bar Chart Differences)
- Column Chart (and Column Chart Differences)
- Line Chart
- Map Chart
It probably comes as no surprise that chart data can be turned into spreadsheet data, especially if you have ever spent much time in those great spreadsheet applications like Microsoft Officeโs Excel, where there are various pathways to display charts from your spreadsheet data. So, today, we just turn that thought around a bit, and use Comma Separated Value (CSV) files as a conduit to be able to convert our chart data into a spreadsheet. We leave it up to whatever is the default application you have to open CSV files โฆ it doesnโt even have to be a spreadsheet application as such, but our applications today offer a downloading capability to get the spreadsheet (CSV) data down to your hard disk (or perhaps midair solutions like Google Docs).
So we see this as a good candidate as a generic Google Chart โselectโ event tool for users looking to integrate with spreadsheet tools.
These Google Chart Line/Bar/Area/Column/Map Chart changes involved โฆ
- area_chart
php is the changed PHP programming source code as per changes
- bar_chart
php (bar_chart_diffphp) is the changed PHP programming source code as per changes (and changes)
- column_chart
php (column_chart_diffphp) is the changed PHP programming source code as per changes (and changes)
- line_chart
php is the changed PHP programming source code as per changes
- map
php is the changed PHP programming source code as per changes
Youโll see with the PHP code that a crucial technique with todayโs work, which involves huge use of PHPโs header method, revolves around the use of the PHP include statement (as well as its closely related require statement). What we โincludedโ in the PHP of above was PHP source code csvphp to aid with constructing the PHP header statements necessary to make the functionality happen. Weโd like to thank this very useful link for help here.
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Area Chart information โฆ via Google.
Link to Google Chart Tools Bar Chart information โฆ via Google.
Link to Google Chart Tools Column Chart information โฆ via Google.
Link to Google Chart Tools Line Chart information โฆ via Google.
Link to Google Chart Tools Map Chart information โฆ via Google.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Area and Bar and Column and Line and Map Chart title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live runs for โฆ
No guinea pigs were harmed in the making of this blog post. Honest, guvโ!
Previous relevant Google Chart Line/Bar/Area/Column Select Event Tutorial is shown below.
Today we continue on (from yesterdayโs Google Chart Line and Map Chart Select Event Prompt Tutorial) with more integration involving Google Graphs API, or Google Chart Tools, and its โselectโ event (like onclick) involving โฆ
- Area Chart
- Bar Chart (and Bar Chart Differences)
- Column Chart (and Column Chart Differences)
- Line Chart
โฆ involve similar data requirements, so we can integrate by offering a redraw of the Google Chart you are currently in, to another type of Google Chart in the list above, and allow this, as an additional โbusiness logicโ piece of functionality offered to users when they โclick/touchโ on the Google Chart, firing off the onclick (or Google Chart โselectโ) event.
This piece of functionality can be useful, even in terms of aesthetics, as some Google Charts display better than others depending on the density of the data set(s) displayed.
Along the way we also present to the user a moving average of values relevant to each data column of interest.
From yesterday, you may also recall that we can allow a redraw of one the Google Chart types as above (and for lots of others eventually) by allowing user amendment of the data.
And from the day before yesterday we outlined that first bit of โselectโ event business logic allowing the user to see the difference between values, on โclick/touchingโ any one of them and on doing this firing the โselectโ event.
These Google Chart Line/Bar/Area/Column Chart changes involved โฆ
- area_chart
php is the changed PHP programming source code as per changes
- bar_chart
php (bar_chart_diffphp) is the changed PHP programming source code as per changes (and changes)
- column_chart
php (column_chart_diffphp) is the changed PHP programming source code as per changes (and changes)
- line_chart
php is the changed PHP programming source code as per changes
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Area Chart information โฆ via Google.
Link to Google Chart Tools Bar Chart information โฆ via Google.
Link to Google Chart Tools Column Chart information โฆ via Google.
Link to Google Chart Tools Line Chart information โฆ via Google.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Area and Bar and Column and Line Chart title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating your own emailable Google Chart live runs for โฆ
Previous relevant Google Chart Line and Map Chart Select Event Prompt Tutorial is shown below.
Here is a tutorial that further reacquaints you, maybe, with the Google Graphs API, or Google Chart Tools, and its Line Chart functionality, last talked about at this blog with PHP/Javascript/HTML Google Chart Line Chart Tutorial as shown way below, and Map Chart, for its first mention and Google Chart Map Chart Select Event Primer Tutorial, for its last mention.
There is no magic relationship between these two chart types today, rather it is the case that they are the โguinea pigsโ for โgeneric thoughtsโ.
โGenericโ is a favourite word for what we try to achieve here, but it can be like โnirvanaโ for lots of reasons โฆ
- do you have a market for the investment you need to put in to push for โgenericityโ
- in similar mind, does the project size make it worthwhile
- is catering for all the web browser and application platforms allow for โgenericityโ anyway?
โฆ in a big organization, such queries can progress quite nicely by using teams and having planning discussions and setting timelines and deadlines between project groups, but in smaller teams it can be the case of โseeing what problemsโ come up, to decide on the push for โgenericityโ with the product, down, eventually, to the level of deciding where โbusiness logicโ code should sit (ie. in a โlibraryโ or โcalledโ piece of code, or otherwise). So, weโre trying some โgenericโ thoughts and using these two disparate Google Charts to see whether there is some onclick (ie. Google Charts โselectโ event, which you can read a lot about here โฆ thanks, Google) logic that, in a business sense (because we like to think of onclick being really closely tied to โbusiness logicโ, the reason being, some user โclicked/touchedโ something, so you better present something heading towards specific interest, to do with business, when they do this.
And we think an approach would be to offer an onclick reworking of the data of a chart should they get to the โclick/touchโ stage with a chart. And we decided that it is not so bad to present this in an overall โone stringโ chance to change the chart, because, presumanly the user went through the whole rigmarole of answering questions to get this far, and by this stage will โget the hangโ of what to do to make more sweeping changes by using this new functionality. Think, too, a โfaster way to do thingsโ presented to โadvanced usersโ willing to give things a go (otherwise they wouldnโt still be reading?!) help to improve the UX (โuser experienceโ) of the application, whether that be web or mobile or desktop or seascape (just checking youโre still awake).
And so, in practical terms, with these two charts, weโve recently added onclick (Google Charts โselectโ event) Javascript alert and prompt boxes recently, respectively, for Line Charts and Map Charts. Well, today, we make them both Javascript prompt windows to offer this chance for the user to โreshapeโ their chart via โclick/touchโ chart control.
These Google Chart Line Chart and Map Chart changes involved โฆ
- line_chart
php is the changed PHP programming source code as per changes
- map
php is the changed PHP programming source code as per changes
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Line Chart information โฆ via Google.
Link to Google Chart Tools Map Chart information โฆ via Google.
This extra functionality, available via the suffix โ&onclick=yโ applied to the Google Chart Map Chart title, flows on directly to the iPad iOS App we created and talked about, last, with Xcode Swift iOS Application End Game Primer Tutorial.
So please try creating you own emailable Google Chart Line Chart here or Map Chart here.
Previous Previous relevant PHP/Javascript Google Chart Line Chart Select Event Tutorial is shown below.
Here is a tutorial that reacquaints you, perhaps, with the Google Graphs API, or Google Chart Tools, and its Line Chart functionality, first talked about at this blog with PHP/Javascript/HTML Google Chart Line Chart Tutorial as shown below.
Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.
The reason for the revisit concerns a push to make more use of the onclick โfeelingโ Google Chart โselectโ event, an event triggered when you click on a feature of, in this case, a Google Chart Line Chart that our web application helps you create.
Here is some PHP code in live action for this tutorial where you define your line chart characteristics and data, where am appending of โ&onclick=yโ to your line chart title means the additional โselectโ event functionality can kick in.
The โselectโ event functionality (which you can read a lot about here โฆ thanks, Google) would be full of business logic and specific to how you want to use the chart, so it is a bit hard to pin down how you should use it, but in todayโs tutorial picture you can see that in a Company Performance line chart showing Sales and Expenses if you click on a Sales figure for any given Year the โselectโ event business logic brings up a Javascript alert() box that informs the user of the Expenses for that same Year, along with the difference between Sales and Expenses. The logic is not tied down to the exact words โSalesโ and โExpensesโ, and it will work this out from what you entered in for this earlier on.
Some findings here led to some small changes to that generic Javascript behind the scenes of these Google Chart suite of web applications as well so, all told, the changes involved โฆ
- line_chart
php is the changed PHP programming source code as per changes
- gchartgen
js is the changed Javascript programming source code as per changes
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Line Chart information โฆ via Google.
So please try creating you own emailable Google Chart Line Chart here.
Previous relevant PHP/Javascript/HTML Google Chart Line Chart Tutorial is shown below.
Here is a tutorial that introduces you to Google Graphs API, or Google Chart Tools, and its Line Chart functionality.
Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.
Letโs see some PHP code in live action for this tutorial where you define your line chart characteristics and data.
Link to Google Chart Tools โspiritual homeโ โฆ via Google.
Link to Google Chart Tools Line Chart information โฆ via Google.
Link to some downloadable PHP programming code โฆ rename to line_chartphp.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.