Bar Chart - Pie Chart custmization
Hi,
I have a criteria ready to display "Sales by Region", using this I have developed a bar chart and a pie chart.
My question is, if I customize a color for region (Using Format Chart Data) in bar chart with specific color, the same should be picked up in Pie Chart.
Can this be made?
Regards,
Jitendra
Both the chart's are independent. The columns you might be using are same but when the Graph's are considered they are different.
Similar Messages
-
Bar and Pie chart display with values
Hi All...
I want implement the my swing application Bar and Pie chart functionality with vales, If both are disply same veues.
Thanx to Advance
Arjunwww.jfree.org
-
Bar of Pie Chart and Age Population Chart ?
Hi,
I've got the last version of numbers and I'am asked for an assignement to do a Bar of Pie Chart and an Age Population Chart.
I tried everything and searched on the internet but couldn't manage to find what I'm looking for.
Could anyone explain how to do those ?
ThanksHi Vic,
So "Bar of Pie" wasn't a typo! Looks like Jerry (and I) had a different interpretation of what you were trying to do.
What you have there is two separate charts, using two separate (but related) sets of Data.
The Pie chart uses the data listed on the table to the left below—individual numbers for the pets whose count is three or greater, and a grouped count for the others.
The Stacked Bar chart uses a separate data set, listed on the second table—the individual counts for those pets represented fewer than three times each.
Here's a variation.
Charts are using the default colours as assigned by Numbers.
See the Numbers '09 User Guide for details on reformatting the charts.
Regards,
Barry -
Plot line, bar and pie chart
Anyone can let me know where can i learn or tutorial on how to plot line, bar and pie chart by using java2D... (no third-party software)....
thanks in advance.Here's a pie chart app I made for an earlier question:
import java.awt.*;
import java.awt.font.*;
import java.awt.geom.*;
import javax.swing.*;
public class PieChart {
public static void main(String[] args) {
int[] data = {
18, 95, 102, 87
PieCharter pie = new PieCharter();
pie.enterData(data);
JFrame f = new JFrame("Pie Chart");
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(pie);
f.setSize(400,300);
f.setLocation(300,300);
f.setVisible(true);
class PieCharter extends JPanel {
int[] data, percents;
int dataTotal;
final int
PAD = 25,
R_PAD = 5;
public PieCharter() {
setBackground(Color.white);
public void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
Font font = new Font("lucida sans unicode", Font.PLAIN, 16);
g2.setFont(font);
FontRenderContext frc = g2.getFontRenderContext();
int width = getWidth();
int height = getHeight();
int cx = width/2;
int cy = height/2;
int dia = (int)Math.min(width, height) - 2*PAD;
g2.draw(new Ellipse2D.Double((width - dia)/2, (height - dia)/2, dia, dia));
// draw zero datum
double radians = 0;
int x = cx + (int)((dia/2) * Math.cos(radians));
int y = cy - (int)((dia/2) * Math.sin(radians));
g2.draw(new Line2D.Double(cx, cy, x, y));
String s;
int dataWidth, dataHeight, deltaR, rXInc, rYInc;
for(int i = 0; i < data.length; i++) {
radians += 2*Math.PI * data/dataTotal;
x = cx + (int)((dia/2) * Math.cos(radians));
y = cy - (int)((dia/2) * Math.sin(radians));
g2.draw(new Line2D.Double(cx, cy, x, y));
s = String.valueOf(percents[i]) + "%";
dataWidth = (int)font.getStringBounds(s, frc).getWidth();
dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
deltaR = (int)Math.sqrt(dataWidth*dataWidth + dataHeight*dataHeight)/2 + R_PAD;
rXInc = (int)(deltaR * Math.cos(radians));
rYInc = (int)(deltaR * Math.sin(radians));
x += rXInc;
y -= rYInc;
x -= dataWidth/2;
y += dataHeight/2;
g2.drawString(s, x, y);
s = String.valueOf(data[i]);
dataWidth = (int)font.getStringBounds(s, frc).getWidth();
dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
x = cx + (int)((dia/4) * Math.cos(radians - 2*Math.PI * data[i]/(2*dataTotal)));
y = cy - (int)((dia/4) * Math.sin(radians - 2*Math.PI * data[i]/(2*dataTotal)));
x -= dataWidth/2;
y += dataHeight/2;
g2.drawString(s, x, y);
private void prepareData() {
for(int i = 0; i < data.length; i++)
dataTotal += data[i];
percents = new int[data.length];
int dataPlus = 0;
for(int i = 0; i < data.length; i++) {
dataPlus += data[i];
percents[i] = Math.round(100 * dataPlus/dataTotal);
public void enterData(int[] data) {
this.data = data;
prepareData();
repaint(); -
I am looking for charts with drilldown feature. I need to drilldown to another chart or a report.
can you please point me to any articles doing this from scratch? I looked the sample packaged application with charts but it does not have drilldown links,.For all charts, the first column "link" is what you're interested in
The syntax for the select statement of a chart is:
SELECT link, label, value FROM ...
Where:
link is a URL. This URL will be called if the user clicks on the that point on the resulting chart.
http://docs.oracle.com/cd/E11882_01/appdev.112/e11945/bar_chart.htm#BEHGDBBE
unfortunately no examples here, but check inline help for expected SQL in charts. Just define a URL for your drill down destination. -
Hi!
In My application i want to create few bar and pie chart.
If is there any code for generating bar and pie chart,
pl send me.
If third party software is available tell me the details of it.Sure, this functionality would be nice to have right
out of the box, but when you think about it: should
Sun be distributing a reporting SDK and promoting bad
practices anyhow? Implementing your reporting in
disparate and distributed manners is just plain messy
and definitely translates to a bad practice. Turning
to a centralized reporting mechanism, driven by a
reporting server that can handle the needs for 80% of
your requirements is a helluva lot more thoughtful and
mindful than implementing separate mini reporting
engines encapsulated within each and every application
that you deploy.Elegantly stated! On a practical point, my company built an Enterprised based reporting solution on top of Java technology within the windows environment (please be kind). Specifically we used Java, ASP and Javascript (no VBScript), and delivered the information using the Microsoft IE 4 and 5.
However, since Microsoft chose to elminate Java from it's current browser (IE6), we have to throw two years of coding away. We are now in the process of moving backward (technically speaking) to a desktop reporting model using Java (no browser technology) that accesses an Enterprise database, or embedded Java database. None of our customers are using Netscape, so that was never an option. Microsoft's and Sun's inablity to cooperate almost decimated our company's product line (and it still may).
So I agree with you that an Enterprise server based reporting solution is the best architecture, and yet here I am running away from it after a two year struggle with competing standards. Sometimes the best solution loses for reasons that are simply not technical in nature. -
Flash AS3.0, Create bar, pie chart.
hi
how to create flash bar and pie chart in actionscript3.0. any ideas about this, any refference file.
any samples file give me
thnksHi Ned,
I found a AS3 tutorial for Bar Chart.
http://code.tutsplus.com/tutorials/create-a-dynamic-bar-graph-generator-using-xml-as3--act ive-2639
How do I modify the height of the Graph Bar?
How do i create increase or decrease the spacing between the Graph Bar? -
I am trying to create a bar of pie chart in Excel 2003. I am able to insert my data and create the chart, but I need to set the "SplitValue" to 6. I was able to find the property for doing this but I get an error when I run the vi (see attached). Any thoughts?
Solved!
Go to Solution.
Attachments:
ActiveX Error.PNG 45 KBI think your problem is that you don't have "Index" wired for the ChartGroups property. Thus, it may be returning a collection of chart groups, but you are typecasting it to a single chart group.
-
Pie chart implemented
Originally posted by: jasonweathersby.alltel.net
There is an action to click a legend element and highlight the bar/slice
but not the other way. It works is SVG, but SWT has a bug in it currently.
Jason
Raheel Ashraf wrote:
> I was wondering if this feature is already implemented in BIRT.
> Selecting a bar or pie chart slice highlights the corresponding legend
> entry. If so, does it work for SWT?
> -
Hi all,
I am very new to XcelsiusPlease tell me how to work on Charts (Pie Chart) . I am using one Pie Chart to which I mention the data lables range, But it is showing the specifed range of lables as well as defalt lables I tried to deleat default lables but there is no option to deleat it. Please help me.
Thank YouShonti,
The samples Pie chart is an example of a chart with Drill down feature enabled,which can be done with the second tab(drill down) on the pie chart property sheet.
In the sample pie chart the labels and values are bound under general tab,drill down feature is enabled under the drill down tab,insertion type,source data and the destination range is specified.Now the values that were bound in general tab are deleted so that the chart can feed from the values specified in the destination range.This is the reason why the value range is empty in the general tab.This destination range is highlighted in the embedded property sheet.The coIumn chart below it also displays data or values entering the destination range which is specified as it's y axis values.
In preview mode when you click on each pie slice notice the column chart below shows the data corresponding to the label(which is branch name) and it's monthly sales ,these are the values that enter into the destination range specified in the drill down property tab of the pie chart and also into the value y axis of the column chart.
Pease also refer to Xcelsius user guide located under Help > Xcelsius help or simply press F1 to pull it out.
Hope this helps.
-Purnima -
Is there any way to link the individual rows of data to the corresponding bars in a bar chart so that each legend title appears simultaneously with its corresponding bar when creating a build? I can do it in a pie chart but can't in a bar chart.
You used the data. Verizon can not see what it was sued for. However your phone can see whats apps used the data. go to settings-data usage- there will be a place that says data usage cycle. line the dates up with your cycle. then there will be a bar graph below that extend bother white bars one all the way to the left and one all the way to the right. after those are extended below that will be a list of apps, there should be one that used over 2 gb and that will show you what app used that data in her purse
-
Create Pie Chart and Vertical bar chart using report builder 3.0 with sharepoint custom list
Hi All,
I have a client requirement to create reports which should show the graphical representation of SharePoint Custom List data. The reports are Month wise and YTD. Also i have to create dashboard.
For creating reports, i have heard about Report Builder and SSRS. I have SQL server 2008r2 and installed report builder 3.0 but i am not aware of creating reports(KPI, Pie Chart, Vertical bar, etc.,) with sharepoint customlist.
Can some one please help me on this.
MercuryManHere is some information about using the SharePoint List Data source with SSRS/Report Builder/BIDS:
http://www.infotoad.com/blog/post/2012/10/11/using-a-sharepoint-list-connection-type-as-a-data-source-for-reporting-services.aspx
http://technet.microsoft.com/en-us/library/ee633650.aspx
http://www.codeproject.com/Articles/24469/SQL-Reporting-Services-data-from-SharePoint-lists
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Interactive Bar/pie chart and line graph, data from excel/text file -urgent
Hi,
I have a huge data in excell sheet which keeps updating every month. Data basically consists of service provider and there respective subscribers from various regions of the country over the years. The requirement is to give the viewers an interactive page where in they can make various combinations and can compare, cross examine data according to thier choice.
We want the pie chart / bar graph or line graph to be created on the fly according to the combination made by the user.
The site is hosted on a red hat linux server. how can a connection to the excel spreadsheet be made or is it possible to read from the text file if the entire data is exported to a text file.
Is there any ready made tool/code available which can be customised according to the need.
Thanx in advance
Regards
PrakashI certainly wouldn't pay for the graphing package at the previous link. check out http://www.object-refinery.com/jfreechart/ for a free, open-source, much better looking graphing package.
-
Code regarding Pie Chart, Bar Chart and Line Chart
Anybody having code for Pie chart, Bar chart and Line chart.......?
You may try jfreechart, jgraph,etc
here is the link for more java graphics software : http://www.kidslovepc.com/graphic-design/graphic-design-softwares.php -
Bar chart and pie chart in same screen at a time
hi experts,
I am trying to display the bar chart and pie chart in two separate containers in same screen .I wrote code for this in PBO of screen by using the function module GFW_PRES_SHOW , but it is showing one chart at a time which is lastly executed in the PBO.
I need to display two charts in two container at a time by calling the same function modules two times first time for bar chart second time for pie chart by changing the parameter
presentation_type = 1 for bar chart
presentation_type = 31 for pie chart.
please help me in this regard asap.
Thanks,
K.Rajesh.Hi..
Instead of using the FMs .. you should use the Object oriented approach for the same.
Brief steps:
You should have 2 control areas and 2 containers.
Define different instances of 2 controls and attach them to the 2 containers.
Call individual methods to display the controls in PBO.
This should show both at a time. It is really simple.
As an example you can go to SE38. From the (sap) menu go to Environment -> Examples -> Control Examples.
Here you will see lot of examples.
Regards,
Varun.
Maybe you are looking for
-
Vinyl to mp3 conversion - using ION profile LP turntable
I recently purchased the ION Profile LP turntable that comes with ION ez Audio Converter for MAC. I plan to convert about 600 old lp's to mp3 to be used on my IPOD. My question...is there anywhere to obtain an updated version of this software in the
-
I would like to play back all my music and music videos together like on my iPod, but when I play the music videos from the music app, they only display a thumbnail picture when the video is playing. I like to mix up my audio only songs with my music
-
Restricted/Calculated Key Figures in Query vs MDX?
Hello All, We are embarking on our first project utilizing SAP BW as the Data Warehouse and Web Intelligence as the presentation tool. We plan on creating the universes on BW Queries. What are the pros and cons of using Restricted and Calculated Key
-
Transferring alv grid data to other program
Hi All, We have two reports, report A is for displaying data using ALV GRID, we want to let user select some lines in A and then click a button to transfer selected records to report B and make relevant select-options value default to the selected re
-
Need profit center HIERARCHY FM
Hello Experts, I know the profit center and profit center group. Could you tell me which function module i have to use to get the complete hierarchy? Regards, Amit