Best Android App InstaSquare Lite for full-size publication of photos in Instagram, Facebook, Twitter. Run the android application on PC. You can through the android emulator Droid4X.

root/trunk/rapidandroid/org.rapidandroid/assets/flot/html/basechart.html @ 102

Revision 102, 1.3 KB (checked in by czue, 16 months ago)

Updating the graphing module to be separated out by the data and options so we have more control over the plots. Updated the graph that plots a numeric field over time to display dates properly on the x-axis, and updated the histogram to be color-coded, have proper labels, and include a legend.

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3 <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5    <title>Flot Examples</title>
6    <link href="layout.css" rel="stylesheet" type="text/css"></link>
7    <!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.pack.js"></script><![endif]-->
8    <script language="javascript" type="text/javascript" src="../jquery.js"></script>
9    <script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
10   
11    <script id="source" language="javascript" type="text/javascript">
12function load(){
13        //document.getElementById('graphtitle').innerHTML = window.graphdata.getGraphTitle("wassup", 5);
14        //document.getElementById('graphtitle').innerHTML = window.graphdata.getGraphTitle();
15        window.graphdata.loadGraph();
16}
17
18function SetGraph(gwidth, gheight) {
19        var graphObj = document.getElementById("placeholder");
20        graphObj.style.width = gwidth;
21        graphObj.style.height = gheight;       
22}
23function GotGraph(gData, gOptions) {   
24        $.plot($("#placeholder"), gData, gOptions);
25        window.graphdata.finishGraph();
26        }
27</script>
28   
29 </head>
30    <body onload="load()">
31   
32
33    <div id="placeholder"></div>   
34 </body>
35</html>
Note: See TracBrowser for help on using the browser.