Directory trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dojox/data/

Directory Created:
2010-10-31 06:23
Directory Deleted:
2010-11-21 00:16
Total Files:
0
Deleted Files:
37
Lines of Code:
0

[root]/trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dojox/data
                                            Folder removed from repo s3 (0 files, 0 lines)
                                            Folder removed from repo util (0 files, 0 lines)

Lines of Code

trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dojox/data/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
juanpicado 74 (100.0%) 9015 (100.0%) 121.8

Most Recent Commits

juanpicado 2010-11-21 00:16 Rev.: 885

function callJsonService(){
new Ajax.Request('http://localhost:8080/encuestame/jota/tweetPoll/votes.json', {
method:'get',
parameters: {tweetPollId: 6},
onSuccess: function(transport){
//alert("Success! \n\n");
var tran = transport;
var json = tran.responseText.evalJSON(true);
// alert("Success! \n\n" + json);
// alert(json.gender);
this.createChart();
this.createBarChart();
this.createLineChart();
this.createPointChart();
this.createAreaChart();
},
onFailure: function(){ alert('Something went wrong...') }
});
// this.createChart();
};


function createChart(){
new Proto.Chart($('piechart'),
[
{ data: [[2, 3], [1, 8], [8, 5], [9, 13]], label: "Diana"},
{ data: [[5, 3], [4, 2], [8, 5], [9, 13]], label: "Paola"},
{ data: [[6, 2], [2, 6], [8, 5], [9, 13]], label: "d3"},
{ data: [[2, 1], [2, 7], [8, 5], [9, 13]], label: "d4"},
{ data: [[2, 2], [6, 8], [8, 5], [9, 13]], label: "d5"},
{ data: [[4, 1], [5, 8], [8, 5], [9, 13]], label: "d6"},
{ data: [[1, 1], [2, 8], [8, 5], [9, 13]], label: "d7"}
],
{
pies: {show: true, autoScale: true},
legend: {show: true}
});
};

function createBarChart(){
new Proto.Chart($('barchart'),
[
{data: [[2, 3], [4, 8], [8, 5], [9, 13]], label: "Data 1"},
{data: [[5, 3], [3, 8], [2, 5], [7, 13]], label: "Data 2"}
],
{
bars: {show: true},
xaxis: {min: 0, max: 14, tickSize: 1}

});

};


function createLineChart(){
new Proto.Chart($('linechart'),
[
{data: [[2, 3], [4, 8], [8, 5], [9, 13]], label: "Data 1"},
{data: [[2, 3], [4, 8], [8, 5], [9, 13]], label: "Data 2"}
],
{
//since line chart is the default charting view
//we do not need to pass any specific options for it.
xaxis: {min: 0, max: 14, tickSize: 1},
});
};

function createPointChart(){
new Proto.Chart($('pointchart'),
[
{data: [[7, 3], [2, 8], [8, 7], [3, 11]], label: "Data 1"},
{data: [[4, 3], [7, 3], [1, 8], [7, 13]], label: "Data 2"}
],
{
points: {show: true},
xaxis: {min: 0, max: 14, tickSize: 1},
});

};

function createAreaChart(){
new Proto.Chart($('areachart'),
[
{data: [[2, 3], [1, 8], [8, 5], [9, 13]], label: "Data 1"},
{data: [[1, 1], [2, 8], [8, 5], [9, 13]], label: "Data 2"}
],
{
//since line chart is the default charting view
//we do not need to pass any specific options for it.
xaxis: {min: 0, max: 14, tickSize: 1},
lines: {show: true, fill: true}
});
};



Event.observe(window, 'load', function() {
this.callJsonService();
});

0 lines of code changed in 37 files:

  • trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dojox/data: AndOrReadStore.js (del), AndOrWriteStore.js (del), AppStore.js (del), AtomReadStore.js (del), CdfStore.js (del), ClientFilter.js (del), CouchDBRestStore.js (del), CssClassStore.js (del), CssRuleStore.js (del), CsvStore.js (del), FileStore.js (del), FlickrRestStore.js (del), FlickrStore.js (del), GoogleFeedStore.js (del), GoogleSearchStore.js (del), HtmlStore.js (del), HtmlTableStore.js (del), ItemExplorer.js (del), JsonQueryRestStore.js (del), JsonRestStore.js (del), KeyValueStore.js (del), OpenSearchStore.js (del), OpmlStore.js (del), PersevereStore.js (del), PicasaStore.js (del), QueryReadStore.js (del), README (del), RailsStore.js (del), S3Store.js (del), ServiceStore.js (del), SnapLogicStore.js (del), StoreExplorer.js (del), WikipediaStore.js (del), XmlStore.js (del), css.js (del), dom.js (del), restListener.js (del)
juanpicado 2010-10-31 06:23 Rev.: 865

Uploading Dojo

9015 lines of code changed in 37 files:

  • trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dojox/data: AndOrReadStore.js (new 672), AndOrWriteStore.js (new 511), AppStore.js (new 550), AtomReadStore.js (new 340), CdfStore.js (new 318), ClientFilter.js (new 187), CouchDBRestStore.js (new 65), CssClassStore.js (new 104), CssRuleStore.js (new 336), CsvStore.js (new 444), FileStore.js (new 239), FlickrRestStore.js (new 296), FlickrStore.js (new 151), GoogleFeedStore.js (new 39), GoogleSearchStore.js (new 256), HtmlStore.js (new 322), HtmlTableStore.js (new 267), ItemExplorer.js (new 461), JsonQueryRestStore.js (new 17), JsonRestStore.js (new 232), KeyValueStore.js (new 225), OpenSearchStore.js (new 219), OpmlStore.js (new 329), PersevereStore.js (new 78), PicasaStore.js (new 172), QueryReadStore.js (new 251), README (new 127), RailsStore.js (new 119), S3Store.js (new 29), ServiceStore.js (new 160), SnapLogicStore.js (new 183), StoreExplorer.js (new 150), WikipediaStore.js (new 63), XmlStore.js (new 934), css.js (new 91), dom.js (new 42), restListener.js (new 36)
Generated by StatSVN 0.7.0