Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1039333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:05:12+00:00 2026-05-16T15:05:12+00:00

I am using Eclipse with GAE on a MacBook Pro with GChart. My problem

  • 0

I am using Eclipse with GAE on a MacBook Pro with GChart. My problem is that I cant get any chart to show when I am developing, but when I use regular tools such as Buttons or Labels with GAE they work just fine. The code doesn’t give me any errors, so I am assuming that I have the right code:


public class TestingTesting implements EntryPoint {
    public void onModuleLoad() {
        GChart graf = new GChart();
        graf.setTitle("testing");
        graf.setChartSize(200, 200);
        graf.addCurve();
        graf.getCurve().getSymbol().setFillThickness(2);
        for (int i = 0; i < 10; i++) 
            graf.getCurve().addPoint(i,i*i);
        Button btnOk = new Button("Ok");
        RootPanel.get("chartdiv").add(graf);
        RootPanel.get("button").add(btnOk);
    }
}

and my TestingTesting.gwt.xml file looks like this:


<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='testingtesting'>
    <!-- Inherit the core Web Toolkit stuff. -->
    <inherits name='com.google.gwt.user.User' />
    <!-- Inherit the default GWT style sheet. You can change -->
    <!-- the theme of your GWT application by uncommenting -->
    <!-- any one of the following lines. -->
    <inherits name='com.google.gwt.user.theme.standard.Standard' />
    <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
    <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
    <!-- Other module inherits -->
    <inherits name='com.googlecode.gchart.GChart' />
    <!-- Specify the app entry point class. -->
    <entry-point class='test.gchart.sollution.client.TestingTesting' />
    <!-- Specify the paths for translatable code -->
    <source path='client' />
    <source path='shared' />
</module>

My TestingTesting.html looks like this:


<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">


<title>Chart Example</title>
<script type="text/javascript" language="javascript"
    src="testingtesting/testingtesting.nocache.js"></script>
</head>

<body>
    <div id="chartdiv"></div>
    <div id="button"></div>
</body>
</html>

other than that, my structure of the project in Eclipse is

 /
 - gchart.jar
 - App Engine SDK [App Engine 1.3.5]
 - GWT SDK [GWT - 2.0.4]
 - JRE System Library
 - src
 -- test.gchart.sollution
 --- TestingTesting.gwt.xml
 -- test.gchart.sollution.client
 --- TestingTesting.java
 -- test.gchart.sollution.server
 -- test.gchart.sollution.shared
 --- FieldVerifier.java 
 - META-INF
 -- jdoconfig.xml
 - log4j.properties
 - war
 -- TestTest.html
 - WEB-INF
 -- appengine-web.xml
 -- logging.properties
 -- web.xml
 

Can anyone help me to figure out what the problem might be? The button shows without any problem, but the chart doesn’t?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:05:13+00:00Added an answer on May 16, 2026 at 3:05 pm

    I figuered out what I’ve made wrong.

    I forgot on the TestingTesting.java to include

    RootPanel.get("chartdiv").add(graf); 
    graf.update();      // you have to update your graph before it renders
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using Eclipse but already I have a small problem. At first
I deployed my web application on GAE using eclipse plugin. UI is fine but
I've been using Pydev/Eclipse to develop Google App Engine (GAE) applications but I've been
I am using GAE plugin for eclipse and wanted to know if the plugin
Using Eclipse, working with (ANSI) C language, is there any way to view the
I have been working on an application using GAE in eclipse and I have
I have made my GAE application using the development server, but now when I
Using Eclipse 3.6 and Groovy 2.0.1.20100319-1100-e35-RELEASE, auto-format does nothing. That is, for a given
I am using Eclipse Galileo for android developing . Almost a newbie. My Eclipse
im using eclipse for python but i dont know for php.. how can i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.