Chart Axis Position
Hi there,
I'm wondering how I can fix the vertical axis of a chart into
position. I have 4 charts that are vertically aligned. When the
chart labels of one get larger than than the rest of the labels the
chart resizes to make more room for the label. When this happens it
throws the charts out of alignment. This is a big problem for me as
the 4 charts share the same X-axis and I only have labels turned on
for the bottom chart. The chart type is a linechart and the axis
are both of linearAxis type. I have tried the verticalAxisRatio
property of the lineChart but this has a rendering problem and
tends to chop of part of the labels. Im wondering if I can
explicitly fix the position of the vertical axis so they won't
move.
Thanks in advance.
Tim
Wow, I tried so many things (even tried the Scope and Sweep chart mode) but some settings must have been different then because the scope chart mode does it this time! Thanks a lot.
Ben64
Similar Messages
-
How do I rotate chart axis labels?
Trying to rotaet chart axis labels for the x-axis, but would like to know the same for the y-axis too. Know the solution for a text box, but doesn't seem to work for the axis labels.
Hi Martin,
The solution is the same for X and Y labels. Select the labels and then set the rotation angle, either in the Format Bar or in the Metrics Inspector.
Jerry -
How to display PIE chart Axis label horizontally?
Hi
Currently my PIE chart axis label is displying in 2 lines. How make it to display in one line?
Thank youhi,
For Pie chart there will be no X-axis or Y-axis terms generally.
Label/Text could be one of the following.
Title?
or Sub Title?
or Foot note?
Right Click -> Format Title . Reduce the font size such that it fits into a single line.
Regards,
Vamsee -
Chart Axis: Label Renderer pixel width
Am using custom label renderer for Chart Axis labels.
CustomLabelRenderer extends label
override public function set data(value:Object):void
if(value is AxisLabel){
dataValue = String(value.text);
else{
dataValue = String(value);
I would like to get the Width of the Label component in PIXELS on runtime.
Can you please tell me how I can get the pixel width of the labels that gets updated when user changes the screen resolution.
Please let me know ASAP.
ThanksSee this example and the related thread:
http://apex.oracle.com/pls/otn/f?p=31517:222
Basically, you need to customize the chart XML. That is quite easy to do.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Hi all,
how can I change the Y axis position in a multiple Y axis graph?
Thanks, GillesHi,
if you want to show Y scale at the right side of your graph instead of its ordinary position at the left you must do the following things:
Right click on the title of the scale and select "swap sides" option from pop-up menu.
Good luck.
Oleg Chutko. -
HR Organisation Chart : Showing Position as Presently occupied by other
As per our Business Practice, there are some Positions which are Vacant but occupied by some Employee as their Secondary assignment (over and above their primary assignment, which is some other position). And this position we don't want to show it as Vacant and as of now there's no plan to fill this also in near future, but as part of the Organisation Chart, we want to show this as Occupied position.
e.g. Presently in our Org Chart, CIO Position is Vacant, but we want some existing employee to appear as "Acting CIO" and don't want Vacancy report to display such positions which is dully occupied by some Employee's.
So how can we incorporate such Employee assignment to 2 different Positions, one Primary and other Secondary, so that such Positions are not shown as part of Vacancies.
Thanks in Advance & Best Regards
HarishHi Harish,
I hope you can create your Secondary Position in Planned Status and make it active after the primary Position got Obsolete.
Good Luck
Om
Reward it, if u feel helpful. -
Problem replacing chart axis title with &string. syntax
Apex 4.1.1
Hi,
I am having a problem replacing a chart axis title with substitution syntax &P5_MYFIELD., where P5_MYFIELD is an item with Source Type PL/SQL Function Body:
begin
return web_message.show('LASTNAME', 'dk');
end;
The Item is defined on the same Page as the chart in a different region. I can see that function is working ok, because the return value is displayed in P5_MYFIELD.
There is a second item in an other region on the same page where the source value is defined with substitution syntax &P5_MYFIELD. It also displays the expected value. But when I use the string &P5_MYFIELD. as axis title it is not displayed.
I also defined a field P0_MYFIELD on Page Zero with the same function, when I reference that with &P0_MYFIELD. as axis title on Page 5 the value is displayed correctly. I tried the same with a field on Page 1, &P1_MYFIELD. and it is displayed correctly.
I think, the chart axis title must be substituted before the item P5_MYFIELD is executing the PL/SQL function body to get its value. Can anyone tell me why?
We want to use string substitution syntax to translate all our labels in different languages. I would like to create hidden items with source type PL/SQL function body for all labels on a page and reference these values as label definitions. I would like to place them on the same page as the labels.
Thanks
AnneI started the application again and now also the Items are not displayed, only the message 'Label not defined', so I probably did something wrong with the computation. Why the correct values were shown during the first run, I do not know, maybe i did not logout in between.
Here is the debugging information, but I cannot see any error message:
0.02844 0.00038 Computation point: Before Header 4
0.02881 0.00032 ...Perform computation of item: P5_CYCLE, type=FUNCTION_BODY 4
0.02913 0.00060 ...Performing function body computation 4
0.02973 0.00464 ...Execute Statement: declare function x return varchar2 is begin begin return web_message.show('CYCLE','de'); end; return null; end; begin wwv_flow.g_computation_result_vc := x; end; 4
0.03437 0.00042 ......Result = Wurf 4
0.03479 0.00046 ...Session State: Save "P5_CYCLE" - saving same value: "Wurf" 4
0.03526 0.00027 Processes - point: BEFORE_HEADER 4
0.03553 0.00027 ...close http header 4
0.03580
Edited by: Anne-Marie Rosa on Jun 8, 2012 10:09 AM
Now the correct value is displayed again in the P5_MYFIELD, because I had to set the item source back to PL/SQL Function body, but I am still getting the chart error and the chart is not displayed.
Edited by: Anne-Marie Rosa on Jun 8, 2012 10:17 AM -
Urgent: Chart Axis with Min, Max, Help needed.
Hi guys,
I am rushing on a report submodule in our application, which will go on live in a short time. We need to have charts which use min and max value from the table and calculate the appropriate interval as the scale of the axis, instead of the default interval.
I also tried to put page items into the Min&Max in the chart attributes, but always got the error message that asks for a number.
I have searched the forum and the conclusion I can made now, is that HTMLDB does not support parameterized value for chart axis.
So, my question is: if I have to do it manually, how should I do it? I don't have much experiences in pl/sql, so really need some help here.
Any input is appreciated.Does anybody know whether a chart can be built on a collection? I've tried but didn't succeed.
If somebody has experiences on this, please let me know, so I won't waste more time on trying it if the answer is no. Thanks. -
Is there a way to create a dynamic tool tip for the labels on
the chart axis. For example I have a bar chart that shows the
quantity ordered in 5 categories. I want to be able to add a tool
tip to the category label on the vertical axis to help explain what
the category is. I need this tool tip to change based on the
category that is rolled over. I'm assuming I should be able to do
something with the ToolTipCreate action on an axis renderer but I
can't figure out how to find out which label is being moused over.
Any help would be greatly appreciated. Thanks in advance.I'm not sure if you're refering to components you can place in containers, but if you are, there's a ToolTipText option in the component inspector for every component you can select. If you want to change the tooltips manually for specific components, you can use the method (Component).setToolTipText(String text). Hope that helps...
hello again,
just one more question :) i was wondering if anyone
knows how to implement tool tips with controls in
JavaForte. i looked through the properties window,
but didnt see any .ToolTipText property.... i know
its possible, and probably just one line of code,
anyone know it? thanks a lot in advance for any help!
talk to ya later,
Steven M. Berardi
[email protected] -
Charting: vertical axis position
Hi!
I need to manually position the vertical axis along the chart by setting the verticalAxisRenderer.x value.
If I do that, it seem like chart compoenent automatically correncts the axis to be on the left side.
Any ideas?Hi,
Thanks for your suggestion but I need to position the axis anywhere like axis.x=500;
I was playing arround for a few hours and so far I have came to the following solution which looks promising so far:
I created a custom axis renderer which extends AxisRenderer. Then I tricked the chart component that it cannot set the x value of the axisRenderer.
So.. if anyone come the the same problem in the future, this might be a solution.
package si.catalina.qos.views.reports.charts.cartesianChart
import mx.charts.AxisRenderer;
public class CustomPositionAxisRenderer extends AxisRenderer
private var _xValue:Number=0;
public function CustomPositionAxisRenderer()
super();
override public function set x(value:Number):void
_xValue=value;
override public function get x():Number
return _xValue;
public function set xValue(value:Number):void
_xValue=value;
override public function move(x:Number, y:Number):void
super.move(_xValue,y); -
Unable to change Data label position in the Chart using Position from Properties
Hi All,
I am trying add the Data label to the chart and the users want them to appear on the top of the stacked bars. By default when I enabled the data labels it showed up in the middle. When I tried to change the position by doing
View --> Properties --> Position --> Top/Bottom/any of other 8 options -- it does move a bit
I even tried deleting chart and recreating it.
What am I missing? Thanks in advance.Hi Ranjith_SQL,
According to your description that you have add the Data label on your stacked column chart which by default display in the middle of the chart, you want them to appear on the top of the stacked column chart, right?
For a Stacked Column Chart, the data labels are always placed in the center of the Series bars. This is by design. I also test it on my new version of SSRS 2014 and find have the same result.
If you really need the data label to display on the top, I recommend you to change the chart type to column chart which by default have the Data labels display at the top of the column:
You can also submit an wish at
https://connect.microsoft.com/SQLServer/
If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the level of service provided.
Thanks for your understanding.
Regards
Vicky Liu -
Chart legend position plus ...
Hi,
Is it possible to specify the position of the legend of a chart ?
We have a pie chart and would like to place the legend towards
the top and left where there is ample "dead space". Can this be
done ?
Also, if the legend is not displayed (via checkbox option) there
is no data visible on the pie chart, eg. there is no "show value"
or "show label" option. Is there a way to do this ?
Thanks in advance,
sinclairHello,
There is no easy way to do this in APEX at the moment. You can do it by turning the legend off and then including a custom svg construct in the chart footer section. You'll have to study up on a bit of svg though and make sure you match your legend colors with your value colors but it is feasible.
Carl -
Using Numbers 3.5.2. I have a table of temperature measurements from 10 locations over time - one set of temperatures taken each minute. Each Location has an Address (in hexadecimal) that I want hidden from the chart.
I want to create a three-dimensional line chart with one line per location, temperature on the Y (vertical) axis, time on the X-axis (horizontal), and the locations on the Z-axis (front to back). I can get the temperature as a line, with the correct labels. But I cannot get the time and location working correctly.
I have tried every way I can think of to arrange the data columns, select the data columns, and instruct the chart, but cannot get the desired results.
First of all, I don't know how Numbers names the various axes. Second, there don't seem to be ways to match the data column to the axis.
Sample data:
Address
Location
Date Time
Celsius
348FFA5
Room Air
2015-02-27 11:56
21.69
5263FB5
Outside Air
2015-02-27 11:56
22.06
FD9EFB5
Garage Slab
2015-02-27 11:56
21.94
63FD5B6
Living Slab
2015-02-27 11:56
21.87
ABF65B6
Sub Slab
2015-02-27 11:56
22.56
1BFAFA5
Furnace Intake
2015-02-27 11:56
21.94
5BADFA5
Roof South
2015-02-27 11:56
21.87
87F4FA5
Furnace Output
2015-02-27 11:56
21.94
C7675C6
na
2015-02-27 11:56
22.19
6FC05C6
na
2015-02-27 11:56
21.87
348FFA5
Room Air
2015-02-27 11:57
21.75
5263FB5
Outside Air
2015-02-27 11:57
22.94
FD9EFB5
Garage Slab
2015-02-27 11:57
21.94
63FD5B6
Living Slab
2015-02-27 11:57
21.87
ABF65B6
Sub Slab
2015-02-27 11:57
22.56
1BFAFA5
Furnace Intake
2015-02-27 11:57
22.06
5BADFA5
Roof South
2015-02-27 11:57
21.87
87F4FA5
Furnace Output
2015-02-27 11:57
23.87
C7675C6
na
2015-02-27 11:57
22.25
6FC05C6
na
2015-02-27 11:57
21.87I think Numbers can print a 3D like chart. In your case the three axis are:
X = location
Y = date/time
Z = temperature
however, then format of your data is not well formed for plotting this way.
The data must be:
Date Time
Room Air
Outside Air
Garage Slab
2015-02-27 11:56
2015-02-27 11:57
2015-02-27 11:56
21.69
2015-02-27 11:57
21.75
2015-02-27 11:56
22.06
2015-02-27 11:57
22.94
2015-02-27 11:56
2015-02-27 11:57
Date/Time in a column
location across
then the Z axis, temperature data, in the body of the table
you can try to coerce Numbers into doing this.
You could also consider have two tables:
1) where you paste the data in its' original form
2) a destination table in the format I showed used as the source of a chart. An Applescript could take information from the first table and munge it into the second table -
Hi All,
I have a report which has a chart, the x axis has quarter details...but I need to put them in ascending order of quarters....like q1 2008 q2 2008 q3 2008 q4 2008 q1 2009.....etc
I am not able to do this change using the existing propoerties? Can any one suggest a solution
Thanks
Natrajtry one thing. in the step 1 of your report design, set the order of the quarter field to ASC and then generate your graph
-
Hi,
I have 7 charts (One for each day of week) and I have put a filter on each chart to show that respective days data.
However I want the Y axis Value to remain the same for each day and i want this value to be the Maximum Value of the entire dataset.
How can I do this.
I have a field called MAX_AXIS but this is only showing me the max axis for that day not the week because of the filter
ThanksHi lrj1985,
In order to achieve your requirement, we should set the Minimum value of Vertical Axis with maximum value of the whole dataset as Andrew post. And then set a static value (0, =MIN( Fields!MyValue.Value, "MyDataset" ) or others) as the Minimum value of Vertical
Axis. Then the Vertical Axis will display the max value of the week, not that day.
The screenshot below is for your reference:
If you have any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Maybe you are looking for
-
Hi Experts, I have a BAPI with output either 1 or 0, if output of BAPI is 1 it has to navigate to one form, if output is 0 it should navigate to another form. Can any one of you please suggest me how to perform validation on BAPI output. Regard
-
R3 TO WebDynpro Using Web Services
Hi guys, I am Integrating web dynpro appln. with R3 using web service . I have RFC imported in XI which has 'Gift' as a table , when i create WSDL for this Message Interface this table and it's fields from RFC is not reflected in WSDL only one fi
-
Question about amazon instant video
I have A2107 ideaspad tablet and I've try too look everywhere to see if it plays amazon instant video. Cause I'm at getting the membership.
-
Export message in READY status before oaiimport
Hi all, We do not use migrate for production environment but OAIIMPORT as : - oaiimport is more reliable - we don't want to let production people doing those manipulations with ISTUDIO But we have a problem as we begin to have a lot of flows on produ
-
Mobile App Service Authentication
I am having trouble getting user data once a user is authenticated. I can authenticate successfully, but how do I retrieve user data from Facebook once I have the MobileServiceUser object? All that object contains is a UserId string and an access tok