Hi,
I tried to integrate this flot (http://code.google.com/p/flot/) which I find
very appropriate and really cool but I couldn't because of the iUI I think.
Anybody done it?? here is a sample of the page that will be included in the
iUI. what i thought here is in a panel to include the div in which the flot
will draw the chart! Thank you peaople for having this group!!!!!!!!!!
<div id="graph" title="Graph" class="panel" >
<div id="placeholder" style="width:300px;height:150px;"
class=""></div>
</div>
<script language="javascript" type="text/javascript"
src="jscript/jquery.js"></script>
<script language="javascript" type="text/javascript"
src="jscript/jquery.flot.js"></script>
<script id="source" language="javascript" type="text/javascript">
$(function () {
var d1 = [];
for (var i = 0; i < 14; i += 0.5)
d1.push([i, Math.sin(i)]);
var d2 = [[0, 3], [4, 8], [8, 5], [9, 13]];
// a null signifies separate line segments
var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
$.plot($("#placeholder"), [ d1, d2, d3 ]);
});
</script>
2009/11/12 Daniel Larkin <[email protected]>
> On Thu, Nov 12, 2009 at 3:39 PM, Remi Grumeau <[email protected]>
> wrote:
> >
> > On Thu, Nov 12, 2009 at 16:39, Remi Grumeau <[email protected]>
> wrote:
> >>
> >> Just ask Google ! :)
> >> http://code.google.com/apis/chart/
> >> "The Google Chart API returns a PNG-format image in response to a URL"
> >
> > No interaction btw
> >
> > --
> >
> > You received this message because you are subscribed to the Google Groups
> > "iPhoneWebDev" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<iphonewebdev%[email protected]>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/iphonewebdev?hl=.
> >
>
> an alternative is to use something like flot
> (http://code.google.com/p/flot/) which uses Javascript along with the
> htm5 canvas tag
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<iphonewebdev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/iphonewebdev?hl=.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.