Directory trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dijit/themes/tundra/

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

[root]/trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dijit/themes/tundra
                                                Folder removed from repo form (0 files, 0 lines)
                                                Folder removed from repo images (0 files, 0 lines)
                                                Folder removed from repo layout (0 files, 0 lines)

Lines of Code

trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dijit/themes/tundra/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
juanpicado 40 (100.0%) 4273 (100.0%) 106.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 20 files:

  • trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dijit/themes/tundra: Calendar.css (del), Calendar_rtl.css (del), ColorPalette.css (del), Common.css (del), Dialog.css (del), Dialog_rtl.css (del), Editor.css (del), Editor_rtl.css (del), Menu.css (del), Menu_rtl.css (del), ProgressBar.css (del), TimePicker.css (del), TimePicker_rtl.css (del), TitlePane.css (del), TitlePane_rtl.css (del), Toolbar.css (del), Tree.css (del), Tree_rtl.css (del), tundra.css (del), tundra_rtl.css (del)
juanpicado 2010-10-31 06:23 Rev.: 865

Uploading Dojo

4273 lines of code changed in 20 files:

  • trunk/encuestame/encuestame-war/src/main/webapp/resource/js/dijit/themes/tundra: Calendar.css (new 118), Calendar_rtl.css (new 7), ColorPalette.css (new 5), Common.css (new 27), Dialog.css (new 134), Dialog_rtl.css (new 5), Editor.css (new 14), Editor_rtl.css (new 7), Menu.css (new 61), Menu_rtl.css (new 3), ProgressBar.css (new 23), TimePicker.css (new 42), TimePicker_rtl.css (new 4), TitlePane.css (new 34), TitlePane_rtl.css (new 3), Toolbar.css (new 64), Tree.css (new 72), Tree_rtl.css (new 13), tundra.css (new 3437), tundra_rtl.css (new 200)
Generated by StatSVN 0.7.0