Con artists have likely gained admin access to the Client-side GChart
project. Consequently, John Curtis Gunther is no longer administering
the GChart project, or using the johncurtisgunther Google account.
On two occasions, I have deleted the same inappropriate attachments
posted on the GChart i
, that and a proper doctype).
>
> And if you want to have buttons look the same in all browsers, use the GWT
> PushButton.
>
> HTH
>
> Ian
>
> http://examples.roughian.com
>
> 2009/9/13 John Gunther
>
>
>
> > I've noticed that in IE buttons are n
I still recall an incredulous friend's exasperation: "I merely changed
the value of "X" and, inexplicably, a completely different thing, "Y",
now has a different value, too!"
An obscure side effect of the CSS cascade? No. FORTRAN COMMON blocks.
Here are two cases where I or those I know got burn
I've noticed that in IE buttons are noticeably larger using the
standard GWT CSS theme than these buttons are in other browsers. This
makes consistent cross-browser sizing difficult for me.
Just eyeballing I'd say the IE buttons are around 50% wider and taller
than in the other browsers.
For exa
Client-side GChart lets you add charts to your GWT applications with
nothing more than its 3,000 or so lines of Apache 2.0 licensed Java.
GChart 2.5 adds a GWT canvas rendering option for better looking, more
quickly drawn, alpha-transparent, pie, line, and area charts.
Homepage (live-demo, down
I'm using GWTCanvas in the gwt-incubator:
Say I draw a filled red rectangle.
Next, I create a line across that rectangle's diagonal.
Now, I could set that line's color to green, blue, etc. and stroke and
get a diagonal line.
But I don't seem to be able to set that line's color to "transparent"
What's the difference between GWTCanvas (in the incubator) and gwt-
canvas?
GWTCanvas: http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas
gwt-canvas: http://code.google.com/p/gwt-canvas/
Overall, GWTCanvas is working well for me, but I'm a bit unhappy with
its IE performance in
I found a simple, one-line workaround to this problem:
DOM.setElementAttribute(gwtCanvas.getElement(), "align", "left");
More info about this is available at the issue 275 link referenced
above.
John
On May 6, 10:36 pm, John Gunther wrote:
> I filed an issue
=275
Pretty sure it's a GWTCanvas bug. In the issue above I provide code to
reproduce it and a workaround.
John
On May 6, 12:43 am, John Gunther wrote:
> I'm using a GWTCanvas widget inside of div inside of...inside of a
> Grid widget inside of another Grid widget inside of..
I'm using a GWTCanvas widget inside of div inside of...inside of a
Grid widget inside of another Grid widget inside of...etc.
It all works just fine in Firefox.
But in IE7 I'm finding that, unless I left-align the innermost Grid
cell, the x-coordinates are getting mangled, shifting the stuff dra
I'm late to reply as usual but really appreciate the info. Will likely
revise my planned approach along the lines you have indicated to use
deferred binding.
On Apr 19, 7:46 pm, Thomas Broyer wrote:
> On 18 avr, 07:42, JohnGunther wrote:
>
> > Thanks for the great info, sorry I didn't see your r
A while back I was doing some performance tests and my recollection
was, for that application, in FF2, it was something like 10% slower in
PRETTY. This was with GWT 1.4. Not a lot, but just enough that I
decided not to performance test in PRETTY.
(The big performance impact in FF2 is if Firebug i
Thanks for the great info, sorry I didn't see your reply till now.
I think your first idea would not work in my case because I would have
to have code that referenced the optional module even if they didn't
use it (there are "if (usingOptionModule) do this by invoking its
methods otherwise do som
ion-speed,
> you'd have to have the user edit your gwt.xml file to include only the
> modules used by your code they rely on.
>
> Perhaps someone more familiar with the internals of the gwt compiler can
> comment as to whether or not my explanation is correct or way off base.
&
Is it possible to release a GWT library that has optional features
that require an additional library (written by someone else, packaged
in a module JAR) but that does not require its users to load that
additional library if they don't need the optional features?
What is the best way to do this t
fy my requirement at this time. The functionality does seem
> really useful though.
>
> Thanks.
> --
> Paul Wang
>
> On Feb 20, 4:37 pm, John Gunther wrote:
>
> > I played around with GChartExample21.java (available in the chart
> > gallery and linked to in my
etCurve().getSymbol().setModelWidth(1.0);
> getCurve().getSymbol().setBorderWidth(0);
>
> for (int i = 0; i < numberOfPoints; i++) {
> getCurve().addPoint(i, Random.nextInt(4000));
> }
>
> getXAxis().setHa
GChart 2.41 is out and it incorporates a getMouseCoordinate method and
adds an improved version of the simple line chart editor I linked to
above to the "Chart Gallery" and live demo. Thanks for adding your
request for these features to the GChart issue tracker. See this
related post for more deta
C. Gunther
http://gchart.googlecode.com
On Feb 2, 12:52 pm, John Gunther wrote:
> Thank-you, very glad you appreciate the new release.
>
> On Feb 2, 8:59 am, saurabh hirani wrote:
>
> > Checked out the page. I had used 2.3 and seeing pop up integration and
> > on the fly edi
I noticed this is your very first post to any Google forum. Welcome.
GChart 2.4 has a built-in single point selection capability. Here's an
example of how to use that:
http://gchart.googlecode.com/svn/trunk/doc/com/googlecode/gchart/client/package-summary.html#GChartExample21
To emulate multipl
Thank, good to know what you were trying to do. Unfortunately, there
are not specific tools in GChart that do the drag-selection rectangle
thing, or let you highlight more than a single point. There are "poor
man's" ways to do similar things. You might let the user click in the
upper left, then lo
artbigger and better.
>
> On Jan 28, 10:41 am, John Gunther wrote:
>
> > Client-sideGChartis an open source, 100% pure Java chart library for
> > GWT supporting line, pie, and bar charts.
>
> > With version 2.4,GChartnow tracks mouse activities over the chart,
> &
te the pixelY-to-cartesianY min/max swap
double y = getYAxis().getAxisMax()*(1-yPx/getYChartSize()) +
getYAxis().getAxisMin()*(yPx/getYChartSize());
// add point, using the model units:
getCurve().addPoint(insertionPoint++, x, y);
HTH,
John C. Gunther
http://gchart.g
That's good to hear, and BTW, congrats on the Google gig. But didn't
you already work for Google? Maybe they just gave you a massive raise.
Best GWT tip I ever got was to use Firebug--thanks for that one, and
keep them coming.
John
On Jan 28, 4:34 pm, Fred Sauer wrote:
> Hi-
>
> Some of you may
Appreciate the positive feedback, thanks for testing it out, looking
forward to your report.
On Jan 28, 5:40 am, doopa wrote:
> Good work John. Congratulations on the new release. I'll be testing
> this later and will be sure to update you.
>
> Thanks,
>
> niall
>
Client-side GChart is an open source, 100% pure Java chart library for
GWT supporting line, pie, and bar charts.
With version 2.4, GChart now tracks mouse activities over the chart,
and selects points, displays pop-ups, and fires off click events
accordingly.
HomePage: http://gchart.googlecode.c
Client-side GChart 2.4 was just released today, It supports click
events, so that might help you. Unfortunately,
there are still no client to model coordinate conversion functions.
Please consider adding a request for this feature to the GChart issue
tracker. In the meantime, looking at the setCli
uess work; if anyone has real
experience with printable pages and is willing to share that
experience to help improve GChart's "printability", I'd appreciate
that.
John
On Jan 7, 12:13 am, John Gunther wrote:
> In Firefox 2, if you select File, Print Preview, then Page Setup
In Firefox 2, if you select File, Print Preview, then Page Setup, then
Format&Options, and make sure that "Print Background (color and
images)" is checked, I see the live demo page more or less correctly
in Print Preview with this checked. But lots of stuff is missing
(including axis lines) if thi
Couple of things that may help you:
1) To allow more space for long axis labels and thus avoid the
"overwriting" problem you mentioned in the first place, you can
explicitly set axis label thickness via Client-side GChart's
setAxisLabelThickness method:
http://gchart.googlecode.com/svn/trunk/doc
ice message in the lines of:
> "GWT 1.5.x requires Java 1.5 or better. Compile failed!"
>
> -jason
>
> On Nov 10, 2008, at 8:26 PM, John Gunther wrote:
>
>
>
> > Using GWT 1.5.2, and starting with this class:
>
> > public class NamedHTML extends HTML imp
By default, Client-side GChart's axis min/max are data determined,
which I believe is what is causing the "collapsing with no data" that
you mentioned.
To stop that, explicitly set axis min/max via the setAxisMax and
setAxisMin methods, as described here:
http://gchart.googlecode.com/svn/trunk/d
Using GWT 1.5.2, and starting with this class:
public class NamedHTML extends HTML implements HasName {
public String getName() {return null;}
public void setName(String name) {}
}
If I compile the above class in Eclipse with Project, Properties, Java
Compiler, "Compiler complia
Yes. Just use the setAnnotationWidget method (and related methods like
setAnnotationLocation) in a manner similar to how you used addTick
with widget arguments.. See the Client-side GChart javadocs for
details:
http://gchart.googlecode.com/svn/trunk/doc/com/googlecode/gchart/client/GChart.Curve.P
Appreciate the complement.
I understand that a Maven2 repo makes it easier for Maven2 users to
include GChart as one of their project's libraries, but I have not a
clue as to how to set up a Maven2 repo.
So, unless its really easy to set up a repo if you've never used
Maven2 before, or unless so
Sorry, you cannot style a client-side GChart's gridlines.
You can use the setGridColor method, which may help do part of what
you are looking for:
http://gchart.googlecode.com/svn/trunk/doc/com/googlecode/gchart/client/GChart.html#setGridColor%28java.lang.String%29
If you must have dotted gridl
Client-side GChart users can now produce order of magnitude faster
(and much better looking) solidly connected line charts by using the
new LINE_CANVAS symbol type, and bolting on (by implementing the new
GChartCanvasLite interface) an external GWT canvas library.
The biggest performance improvem
I've recently used the GWTCanvas widget from the GWT incubator
(nothing fancy, just to draw lines--will likely do more canvas stuff
later, though) and so far so good.
However, a Google search shows there are quite a few GWT canvas
libraries out there. Wondering if I'm missing out on a better
libr
Lot more data points now. Pattern is quite clear: everyone is either
migrated already or will migrate soon. Really increases my confidence
in 1.5.2 to see so many adopting it so quickly.
Until Google commissions a real scientific adoption rate survey
similar to the one Adobe did for Flash, this w
stable now, but even when it wasn't, most
> problems were point issues for particular applications that could be
> temporarily worked around.
>
> I'm sure you have your reasons, but the web moves quickly, sticking
> with older technology for a year much less 4 seems the bigger
My library, Client-side GChart, doesn't render solidly connected,
large-sized, line charts quickly enough for at least one user
(probably because it draws them with a series of rectangular HTML
elements).
Anyone have any suggestions for drawing reasonably good-looking
straight lines fast that wo
y=mouseY-dy;
> // transform in chart coordinates
> x=xmin+x*(xmax-xmin)/getXChartSize();
> y=ymin+y*(ymax-ymin)/getYChartSize();
> I'm on the right way or there is a simpler method?
> thanks
> Albert
> ps Excuse me for m
Trying to get a sense of how quickly the migration to GWT 1.5 from
1.4.62 will (or has already) occurred by asking:
1) Are you using GWT 1.5 right now?
2) Are you using 1.4.62 right now?
3) Do you expect to be using GWT 1.5 six months from now?
4) Do you expect to be using GWT 1.4.62 six months f
Client-side GChart is an open source GWT library that supports bar,
line, and pie charts, and yet adds nothing but its ~2,000 lines of
Java to your application's list of dependencies:
http://gchart.googlecode.com
This 2.2 release adds:
* A new LINE symbol type for faster/better solidly connecte
Ian,
Sorry for the delayed response, missed your re-post. My recollection
is I tried "visibility: visible" without the "visibility: hidden"
first, and it seemed that IE7 was smart enough to realize I hadn't
changed a thing, and to ignore me.
Just in case you are curious to reproduce this on your
Just released GChart 2.2 which fixes this problem by letting you
precisely size the space allocated for chart decorations (title,
footnotes, axis labels and legend) around the chart's plot area.
See the first item in these 2.2 release notes for details and a link
to an example "no space added" GC
Nathan,
Though Client-side GChart doesn't have direct event support, it does
support Widget-based annotations, which can be used to do the same
kinds of things.
For example, by adding a transparent Image widget as an annotation
that is centered on a particular data point (via the
setAnnotationWi
47 matches
Mail list logo