473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

I need help with my pie chart

I keep getting error when trying to do my pie chart.
symbol : variable value
location: class mortgagemcbride.PieSlice
total = slices[i].value;
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage McBride\src\mortgagemcbride\Main.java:399: cannot find symbol
symbol : variable value
location: class mortgagemcbride.PieSlice
int arcAngle = (int)(slices[i].value * 360 / total);
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage McBride\src\mortgagemcbride\Main.java:407: cannot find symbol
symbol : variable color
location: class mortgagemcbride.PieSlice
g.setColor(slices[i].color.blue);
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage McBride\src\mortgagemcbride\Main.java:408: cannot find symbol
symbol : method fillArc(boolean,boolean,int,int,int,int)
location: class java.lang.Object
g.fillArc(area.equals(g), area.equals(g), 200, 200, startAngle, arcAngle);
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage McBride\src\mortgagemcbride\Main.java:415: cannot find symbol
symbol : variable value
location: class mortgagemcbride.PieSlice
curValue = slices[i].value;
5 errors
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage McBride\nbproject\build-impl.xml:413: The following error occurred while executing this line:
C:\Users\Diane Prather\Documents\NetBeansProjects\feedreader-suite\Mortgage McBride\nbproject\build-impl.xml:199: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)

Can someone help me, please
Apr 12 '10 #1
1 1598
jkmyoung
2,057 Expert 2GB
What type of variable is slices?
is value a function? you may want slices[i].value();

or it may be even be a capitalization problem.
Apr 13 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Steven T. Hatton | last post by:
I copied what I believe is a complete representation of <iosfwd> from ISO/IEC 14882:2003(E). My understanding of the rules covering typedefs, templates and forward declarations is not very solid. ...
30
by: nephish | last post by:
Hey there, i have tried about every graphing package for python i can get to work on my system. gnuplot, pychart, biggles, gdchart, etc.. (cant get matplot to work) so far, they all are working...
3
by: StBond | last post by:
Hi everyone, I am new to Access and Visual Basic so things my be getting across a bit cloudy. I only started using VB for one week. I am having a little problem with the database that I am...
0
by: ashraf83 | last post by:
hi guys, i need help plotting chart in Vb, im using SQL to plot the chart but when i use it the first data wont be included in my chart , let say if it was supposed to be data range from 3/1/2006 to...
2
by: orfiyus | last post by:
Hi I am working on a script that that creates charts. So I decided to follow this tutorial using the chart director api. I more or less understand everything going on I just cant seem to find...
23
by: muddasirmunir | last post by:
i had developed an accouting software and in this i made some chart for this i used MSChart . As long as charting is concerned it is working fine all the chart is showing the desired results. the...
2
by: Arcturus | last post by:
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkh6waMACgkQq5h2IFR18WMFrwCgv/PNAC8FTZCErvc0KHnx0zpC...
1
by: Ally | last post by:
Hi all, I’m looking to plot charts in Excel from python. After some Googling I’ve found the following code: def plot(x, y, xAxisLog=False, yAxisLog=False): # acquire application object, which...
1
by: cubekid | last post by:
I am using OWC 11 in my new web application for displaying charts. Is it possible in OWC 11 to combine and display a column and a line graph (Looking like they overlap each other)? I tried it using...
0
by: asifu9 | last post by:
Hello all, I am new to MS Access VBA 2007, i need help on how to open a chart form in switchboard. SwitchBoard having options to open a form in Add mode and edit mode, in both of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.