Chart dimension....HELP
Hi everyone.
i need to get the height and width from my JFreeChart to create a .jpeg image.
How do i do this??
thanx a lot
JFreeChart doesn't tell you what size the charts should be, you tell JFreeChart what size you want the charts to be.
Regards,
Dave Gilbert
JFreeChart Project Leader
Similar Messages
-
Query chart design: Help on design
Hi,
i have a query which has every information regarding sales and deliveries !
Now i need to design a chart where in it can show the chart as columns for the sales documents delivered whether early, late or on time!
I do have promised date as a char used in the selection in the query.
i aslo need to differentiate the deliveries ( of how early or how late)
range clusters to deferentiate the results
in other words, -5 to +2 is one range ( on time range )
-8 to + 5 is one range
-11 to + 9 is one range like that
Can any body help me of how can i build query chart ?
Thanks,
RaviHello VC,
Thanks for your reply, and now the problem is in almost finished state, but im facing another problem.
As you explained 100 Contract Account are selected based on the specific creteria.if i put the variable of defination (Count(1)) in column, instead of showing 100 in result it is showing more than that.
And Here in my Cube Contract Account is a Dimension (you might be knowing, just mention for the sake of info).
And my report looks like
Contract Account(row) | Formula (Count(1)) (Col)| Contract Account selection creteria1 (Col) | Contract Account selection creteria2 (Col)|..............
Hope this will give you clear picture. if no let me know.
Thanks a lot,
Umashankar -
Budget to Actual Variance Formula in Scenario Dimension help
I am trying to calculate the Budget to Actual variance by using a member formula in the Scenario dimension.
The formula I'm using is: @VAR("Final"->"Actual" -> &CurrentYear,"Budget");
This formula yields a value that equals the budgeted amount.
The Variance % formula I'm using is: @VARPER("Final"->"Actual" -> &CurrentYear,"Budget")/100;
This % formula equals 100% for most accounts, but is 200% or 300% for other accounts
What am I missing? Many thanks in advanceJake,
I'm a newbie, so I'm not sure what you mean by cross-dim. I didn't write the formula but it's up to me to figure this out. Yes, I do want to compare budget data to same year actual data.
It is dynamic. A sample retrieve for -200% would be Total Operating Revenues:
Actual = 2,404,789
Budget = 2,117,250
Variance $ = (2,117,250)
Variance % = -200%
A really crazy one is Benefits Rollup:
Actual = 66,353
Budget = 73,817
Variance $ = 73,817
Variance % = 500%
I appreciate your help very much.
Max -
Saving in Excel formatting the charts. please help...
Post Author: ranjan.sahoo
CA Forum: Deployment
Hi,
while i am trying to save the charts in Excel,its showing a deviation from .rep to .xls.
Description about Chart:- Chart is like in Y axis we have percentage like 60%,80%,100%, in X-axis we Received Week.
The Issue- Excel is automatically making an increment of unit length like its taking upto 120% as max.
Also Excel is automatically formatting the legend making it TOP-BOTTOM rather LINERAR as in >rep file
I have tried with all kinds of formatting in charts but its not reflecting. If you can help, I will be very helpfull.
Please help me.
Thanks,
RanjanPost your question on the MS Mac forums as it's their software you're having issues with: http://answers.microsoft.com/en-us/mac?auth=1
-
Hi Everyone,
I have a question regarding printing of a flash chart region. I created flash charts using several chart series of pl/sql code that are functions returning SQL queries (generates my dynamic SQL query).
We have our printing configured to use BI Publisher and works with report regions, but how do I have this functionality for flash charts?
I attempted going down the route of creating report layouts using report queries, but when specifying the source query, it only allows SQL and no option for functions returning SQL queries (does not let me use PL/SQL code). Is there a solution for this?
Your help is greatly appreciated.
Regards,
LuisLink to a page that will branch to different pages based on a page item that is sent via the chart link.
For example:
Create Page 220 with an hidden item P220_TABLE.
On Page 220 create a branch to the page for your 'COMPANIES' table with a condition of Value of Item / Column in Expression 1 = Expression 2, Expression 1: P220_TABLE, Expression 2: COMPANIES
Create additional branches for each table page.
Go back and edit your chart series and edit the Action Link fields.
Action Link: Link to Custom Target
Target: Page in this Application
Page: +220+
Request: BRANCH_TO_PAGE_ACCEPT
Name--
Item 1: P53_TABLE Value: +#LABEL#+ -
When I select the Pie Chart tool and click/enter the dimensions in the fields, for example width: 80 x height: 80mm, the pie chart is created at 69.691mm.
Why does the a pie chart never appear at the dimensions enter into the width and height fields?
Is there a preference somewhere that I'm missing? I have a lot of pie charts to produce at exact sizes and this is a bit of a pain.That’s just the way Illie’s primitive graphs work. They need some serious re-thinking.
The best thing you can do is to scale the pie to the size you want. If you need to create other pies in the same size, make a copy of the first one and then change the data.
It is indeed strange that the Transform panel doesn’t work on graphs. -
Hai ,
Can Any body help me in creating a Pie Chart in Web dynpro ABAP ,
My requirement is I have an data in an internal table with company code and Amount , which need to be displayed in Pie chart , it could be helped if u send me the code .
Regards,
K. Vinay KumarHi Vinay,
Following are the steps to be followed.
1. Add the Business Graphics(BG) UI Element in the view.
2. Change the chart type to pie
3. Rite click on the BG UI and add catergory and series(simpleseries).
4. Bind the category with the company code and series with the values.
5. If u like the customize the BG, rite click and 'Edit customization' which will create a MIME Xml file.
Ranganathan. -
Hi all.
I have a client who is needing some dynamic graphs. I have
downloaded and installed the "Charting Components, V1.0" from
http://www.adobe.com/cfusion/exchange/index.cfm?view=sn111&extID=377283
Ive used this tutorial from 4GuysFromRolla
http://www.4guysfromrolla.com/webtech/032603-1.shtml
All is fine and good. Ive got my charts showin, my data XML
asp pages poppin.. its all good.
Part of the project requirements are to recreate a paper
report they mail out online with the colors and general formatting
the same.
I was up till OMG last night pulling my hair out trying to
make the pie chart pieces specific colors.
I will have a set number of data values and pie chart/bar
chart items, so any recursive looping for colors isnt really
necessary if I can if/then something and then just hard set them.
I am a complete n00b when it comes to actionscript, however
am a pretty grissled VBScript veteran. After many hours I found
buried in the layers of the chart this routine which I *believe*
sets the hory clap fugly default colors..
Pie Chart Actions Frame
Begin Code
#initclip 3
FPieChartClass = function()
this.initPalette = function()
this.piePalette = [];
this.paletteIndex = 0;
this.getNextColor = function()
{ var fillColor;
if(this.paletteIndex > this.PieColors.length)
{ var r = (50 + this.paletteIndex * rs + 250);
var g = (50 + this.paletteIndex * gs + 140);
var b = (50 + this.paletteIndex * bs + 130);
r = (r <= 255) ? r : r % 255;
g = (g <= 255) ? g : g % 255;
b = (b <= 255) ? b : b % 255;
fillColor = r << 16 | g << 8 | b;
} else {
fillColor =
parseInt(this.PieColors[this.paletteIndex].substr(2, 6), 16);
this.paletteIndex++;
return fillColor;
End Code
if I put
fillColor = 0x000000
return fillColor;
I get all black pieces.
If I try and do a counter and an if, it fries the chart.
Any help would be incredibly appreciated, and if not, a
direction to a good **cheap** alternative.
Thanks in advance,
CharlieLooks to be a repeat of http://forums.sun.com/thread.jspa?threadID=5386695&messageID=10711772#10711772
-
Flex slider chart problem [HELP]
Hi people.
thx for answer.
My problem is : i can´t use the slider when i have more
than 2 lineseries in the chart.
when i have 1 lineserie, the slider works fine .... but when
i have 2 or more .... the slider don`t work.
I think that the problem is because i don`t keep in an array
collection all the data to move fine the slider.
example.
with this function the slider work fine with 1 lineserie but
with 2 or more dosent.
private function updateMainData():void{
if(iContSerie <= 1){
sliderBig.source = sliderBig2.source.slice(leftBoundary,
rightBoundary);
}else{
bigChart2.dataProvider =
sliderBig2.source.slice(leftBoundary, rightBoundary);
with this function the slider with 2 or more lineserie work
but only move the last lineserie added.
private function updateMainData():void{
if(iContSerie <= 1){
sliderBig.source = sliderBig2.source.slice(leftBoundary,
rightBoundary);
}else{
sliderBig.source = sliderBig2.source.slice(leftBoundary,
rightBoundary);
how i move all the series like i move one serie?
here is the app
http://www.ricoterox.com.ar/hola/mainArrayLeyenda.html
and here the code.
http://www.ricoterox.com.ar/hola/code.txt
can you try in your flex ? it is much to request?
THX so Much.
Danny.
sory for my english ... i argentinianThere's an example that displays percentages for a data tip
in a stacked column chart here:
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_08.html
hth,
matt horn
flex docs -
Cannot build vertical stacked bar chart! HELP!
I have a simple stacked bar chart I want to build with month/year across the bottom that shows the number of orders by category (A,B,C and D). I understand that I must have 2 dimensions and 1 measure. However, the chart is not counting the number of orders by category correctly. I cannot find anything on the net about how to create a vertical chart and troubleshooting why it won't work.
Here's an Excel Pivot of the data:
Year/tmonth A B C D
2009/12 1 1
2010/02 1 1 2
2010/04 1 1
2010/06 1 1
2010/07 2 1 3
Grand Total 2 1 4 1 8OK, I've used your formula in my measure variables as follows:
var_stackA =Sum(Count([CAT])Where([CAT]="A"))
var_stackB =Sum(Count([CAT])Where([CAT]="B"))
var_stackC =Sum(Count([CAT])Where([CAT]="C"))
var_stackD =Sum(Count([CAT])Where([CAT]="D"))
This is my result (as long as I leave the notification in the table):
Notification var_chart_receiptmonth CAT var_stackA var_stackB var_stackC var_stackD
200340495 2009/12 D 1
200364557 2010/02 B 1
200366789 2010/02 C 1
200372262 2010/04 C 1
200427391 2010/06 C 1
200430078 2010/07 C 1
200433242 2010/07 A 1
200434096 2010/07 A 1
This is my result (when I take the notification out):
var_chart_receiptmonth CAT var_stackA var_stackB var_stackC var_stackD
2009/12 D 1
2010/02 B 1
2010/04 C 1
2010/06 C 1
2010/07 C 1
Where did the A category counts go??
I've got 2 universes: GR_MRO Notification Tasks and GR_MRO Operations Details
I'm merging on two dimension variables (notification and sales organization)
My report data is filtered using the following 2 filters:
var_A = 1 calculated via =If([Task Code]="2/CT-HOLD/RTQT";1;0) - detail variable
var_RTQTDate > 1 calculated via =If([Task Code]="2/CT-HOLD/RTQT";Min([Created On]);0) - measure variable
Task Code is a dimension variable from the GR_MRO Notification Tasks universe
A few more calcuations for your review:
CAT = If([var_DaysAged2]<6;"A";If([var_DaysAged2]<11;"B";If([var_DaysAged2]<21;"C";"D"))) - dimension variable
var_Days Aged2 =If(IsError(DaysBetween(Min([var_corereceiptdate]);Min([var_RTQTDate2])));0;DaysBetween(Min([var_corereceiptdate]);Min([var_RTQTDate2]))) - measure variable
var_corereceiptdate =[Receipt Date] - detail variable
[Receipt Date] - variable from the GR_MRO Operation Details - dimension variable
Edited by: Amy Jones on Jul 29, 2010 11:18 AM -
Drill Down Charts - Please Help
I am on version 4.0.1.00.03 and I have a flash chart stacked 3d colum that is displaying a yearly count by category of issues. The page also includes an item as a select list that allows you to choose the year you'd like to see. This works great. I can change the year and the chart changes correctly. Now when I go to drill down on a specific category to show the monthly count for the given category selected. I can't get the chart to show up as the year isn't coming in the url as expected. The category id does appear. I've tried everything I can think of but can not seem to get this. Any assistance would be greatly appreciated! :)
f?p=111:57:3034438413069645::NO:RP:P57_YEAR,P57_CATEGORY_ID:%26P57_YEAR,141Hi "790176" (please update your profile with a name, thanks),
Based upon the LINK you have provided, it would appear that you are referencing the select list item as &P57_YEAR. If you reference your item as :P57_YEAR instead, and concatenate its value to the URL, then your drill-down link should work. Your LINK column in the first chart query should look something similar to the following:
SELECT 'f?p=111:57:&SESSION.::NO:RP:P57_YEAR,P57_CATEGORY_ID:'||:P57_YEAR||',14' LINK, ....You may find it useful to refer to one of my map samples - http://apex.oracle.com/pls/apex/f?p=36648:33 - where clicking on a map section will drill down to a report. It's the same concept as linking down to another chart, you just need to have a correctly formatted URL. I hope this helps.
Regards,
Hilary -
X-Fi Elite pro dimensions, help ple
Im thinking of buying a X-Fi Elite pro.
My problem is im using a ASUS Crosshair in a Antec Performance One 80 which means the psu is at the bottom, so space is limited!
I need the dimensions of the X-Fi PCI card to verify i can fit.
Any help is greatly appriciated.Dodgy,
The dimension should be at around 70mm(L), 99mm(H) excluding the PCI metal bracket.
Jason -
Is it possible to have "intelligent" dimensioning inside Adobe Illustrator? For example: If I draw a rectangle 4" wide by 2" high, and I stretch it to 6" x 2" is there a way for the 4" dimension to auto-update to 6" without manually overriding the text ? I've been scouring the web for answers with little luck. I even bought CADtools which is great but doesn't provide this option. Any help/suggestions/finger pointing would be greatly appreciated.
mwhite,
I have been following this thread with a feeling of having nothing to add to what John has said.
But it is perceivable that it is possible to make corresponding changes in both dimension and text through a script.
We have two script experts in the general Illustrator forum,
http://forums.adobe.com/community/illustrator/illustrator_general?view=discussions#/?per_p age=100
and then there is the Illustrator Scripting forum,
http://forums.adobe.com/community/illustrator/illustrator_scripting?view=discussions#/?per _page=100
You may try to post there. -
Assign Value to Graph/bar chart?help
Anyone who know how to transfer a value in an variable to a graph plot
such as 88/100 marks.The bar statusA cut/paste of a SQL*Plus session is always helpful, especially since your types are not even valid here (you need to use a name other than 'comment').
Change that name and you'll be fine, although I would bulk collect it instead:
create or replace procedure test_data_prodx
(tests out test_data_array)
is
begin
select test_data(name, address, comment) bulk collect
into tests
from customer_data;
end;
/ -
I have tried every combination of incoming and outgoing server I could find via the web (including this forum and others) and through contacting Sprint, Palm and Charter...despite some that work some of the time, none of them allow me to receive all of my emails. I have a Palm Pre. The settings that are automatically downloaded when you login in to your Charter account during the initial set-up (pop.charterinternet.com / smtp.charterinternet.com) do not allow me to receive all of my emails either...only one out of every 5 or so. Any assistance would be appreciated! Thanks!
Did you check the Email Settings under Settings->Mail,Contacts,Calendars? Check there first. Each email account created has a 'Name' field (unless it's an Exchange account).
Maybe you are looking for
-
Cannot connect to AirPort Express after setting it up in AirPort Utility
I have two PCs: one has a Linksys WMP54G wireless card to connect to my AirPort Express which is connected to a wired Linksys ethernet router; the other has an ethernet card which is also connected to the Linksys router. My cable modem is plugged int
-
Help wanted after up grade to Yosemite
I recently up graded to Yosemite and now I have a black screen with log in box. My log in password is not recognised and I cannot get into my computer? I have been reading many other similar posts about the Yosemite bugs when the operating system has
-
How to set a default dictionary on iPad
This is weird - it certainly stumped my local Apple Store bunch. I have a number of keyboards active on my iPad - English UK, Swedish, Icelandic, Russian, Greek, Emoji and Japanese Romaji/Kana. However, should I ever wish to define a word I've typed,
-
Hi All, Is it possible to have multiple terminating events, what i mean is: I created WF template with multiple steps. All steps are using the same task (Approve/Reject) and in the task itself I also define a terminating event. - At the first step, I
-
Deleting Contacts and Clearing iPhone Space
Hi, I recently downloaded a facebook sync app for my contacts and since my iphone has become overrun with contacts (most of which don't even have a phone number but rather an email or website) and my iphone's memory is totally full. There are 15 apps