Change the Axis Labels of a Chart
The Chart-Series are generate through AS (Multiple PlotSeries and 1 LineSeries). I managed to Update the Visuell Areas (in this example to manipulate Vertical Axis (minimum/maximum values to be shown).
No I have 3 Questions about to manipulate this Chart with AS3:
I would like to remove nearly all "Ticks" and "Labels" from the Axis. At the End only the min/max and 0-Label-Value on the vertical Axis should be displayed. And on the vertical Axis, I would like only to have the min/max-Label and 100-Value.
The Chart-Lines (in the Screen above) only 2 Lines should be visible. v-Axis = 100 and x-Axis=0 (just as a Cross over the Chart)
The Linear Serie (just a Value of a Funktion like x=y*2) should have no Tooltip if you go MouseOver-it. And the Legend of this Serie should not be displayed in the Legend. How can I delete the Legend, and how can I preserve a DataTip over this LineSerie?
Hopefully you did understand my bad english.
Thanks for any Tips
Pawel
Hi,
1. IAxis interface have labelFunction (see docs for details and parameters for it). You can check the value to be labeled and return empty string if you don't want to show this value in axis. Axis you get from chart.getAxis(name). But there is not any warranty that always 0 will be shown. You showl implement your own IAxis to show only specific values. (Or search it in internet)
2. You should remove all these grid lines and create CartasianDataCanvas this lines at 0 and 100 and put it to annotationElements of the chart.
3. If you don't want to see all data from chart in Legend you should create an array with legend data only from serieses you want to see. Chart has a property legendData from all serieses. You can filter this array or create new array with legendData from serieses you want to see. And set this array as a dataProvider to Legend.
Hope, this helpful.
Similar Messages
-
Vertical axis labels on column chart
I'm trying to get the x-axis labels oriented vertically on a 3D column chart, so that the labels don't overlap each other. With 2D column charts I can do this via "format>chart>format x-axis" but these options are grayed out with the 3D column chart. Is there any way to get vertical orientation on the axis labels with this chart type???
It's usually not necessary to make the axis labels vertical to keep them from overlapping in a 3D chart since when you rotate the chart the labels are vertically offset. But you're right, there's no other control for this.
Jerry -
PowerView; - How do I change the name of the Axis Labels please
Hi,
I am preparing a demonstration of PowerView. How do I change the layout of the PowerView report please, e.g. change the name of the Axis Labels.
Thanks in advance,
Kieran.
Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/Go to the "Sharing" Preference Pane in "System Preferences" and there is teh field at the top where you can enter/change your computer name.
-
Graph Data does not align with the axis label
Hi,
The graph data does not align with the axis label when
datetimeaxis is used.
http://livedocs.adobe.com/labs/flex3/html/help.html?content=charts_displayingdata_04.html
(in the using parseFunction property example) when you hover on the
line graph the values do not align on the labels. Is this a bug?
Can somebody help me with this.
Thank you,
Gautam.Hi All
Thanks for looking into it.
Actually we have just added a field GJAHR (was missing in the extractor) so that it takes data accoring to fiscal yr. Actually we had a issue that the Business area for a particular vendor 'X' and doc no 'Y' was showing incorrectly (similar to that of yr 2008) but it changed this yr and the extractor was still picking Business Area for yr 2008.
So we added GJAHR field so that it takes correct Business Area. we have checked in R/3 Extractor checker and it shows correctly.
But that change has not reflected in BW yet even after replicating datasource.
I hope i have made you all understand the situation.
Thanks for your help
Ishi -
How can i change the column label text in a alv table display
how can i change the column label text in a alv table display??
A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
<i>* declare column, settings, header object
DATA: lr_column TYPE REF TO cl_salv_wd_column.
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
get column by specifying column name.
lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
set Header Text as null
lr_column_header = lr_column->get_header( ).
lr_column_header->set_text( ' ' ).</i>
My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
<i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
i have checked in debugging and the error occured at the statement :
<i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
Thanks,
SuriI found it myself how to do it. The error says that it is not able to find the reference object i.e it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
lr_if_controller TYPE REF TO iwci_salv_wd_table,
lr_cmdl TYPE REF TO cl_salv_wd_config_table,
lr_col TYPE REF TO cl_salv_wd_column.
DATA : node_year TYPE REF TO if_wd_context_node,
elem_year TYPE REF TO if_wd_context_element,
stru_year TYPE if_alv_layout=>element_importing,
item_year LIKE stru_year-i_current_year,
lf_string TYPE char(x),
DATA: lr_column TYPE REF TO cl_salv_wd_column.
DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
Get the entered value from the input field of the screen
node_year = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
elem_year = node_year->get_element( ).
elem_year->get_attribute(
EXPORTING
name = 'IMPORT_NODE-PARAMETER'
IMPORTING
value = L_IMPORT_PARAM ).
WRITE L_IMPORT_PARAM TO lf_string.
Get the reference of the table
lr_cmp_usage = wd_this->wd_cpuse_alv( ).
IF lr_cmp_usage->has_active_component( ) IS INITIAL.
lr_cmp_usage->create_component( ).
ENDIF.
lr_if_controller = wd_this->wd_cpifc_alv( ).
lr_column_settings = lr_if_controller->get_model( ).
get column by specifying column name.
IF lr_column_settings IS BOUND.
lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
set Header Text as null
lr_column_header = lr_column->get_header( ).
lr_column_header->set_text( lf_string ).
endif. -
How Can You Change the Look and Feel of Charts in OBIEE 11g
How Can You Change the Look and Feel of Charts in OBIEE 11g?
Edited by: user11973122 on Jul 18, 2012 12:13 AMCheck these files
OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\s_blafp\viewui\chart\dvt-graph-skin.xml
OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\views\dvtchart\obips.dvtchart.xml
OFM_HOME\Oracle_BI1\bifoundation\web\display\chartfontmapping.xml
Pls mark correct or helpful if helps -
How do I change the line color in a chart in Numbers on my iPad?
How do I change the line color in a chart in Numbers on my iPad?
Whenever I try to shift+direct select it thinks I want to move the line, so as I shift + direct select and drag my mouse across the line (to highlight it all) it moves a chunk of the line and turns it into a near perpendicular line.
I found the appearance window, it just says "Path" (the color I want it to be that it's not)
"Stroke" 4pt
"Fill" (the color I want it to be that it's not)
"Opacity": Default
And some other buttons. I think I'll try the help line tomorrow, I know I saw a customer service number somewhere and I'm only here because the chat was unavailable. This is only one of my 3 problems with my assignment so I'll search here for answers to the other two. Learning new things is rarely fun. -
How to change the field label text in standard WD application
Hello All,
I have a requirement to change the filed label text in standard WebDynpro application.
Application Name: /SAPSRM/WDC_UI_DO_BIDDER
View: V_DO_BIDDER_SEARCH_C
I want to change the label text from "Last Name" to "Vendor Name".
Can anyone please provide me the possible options to change label text?
Thanks in Advance.
Regards,
ShyamThread closed...Found the solution ...
-
Why can't I change the frame label type?
In a movie clip, I have several frame labels applied. The type of label is set to Name, which is the default. I want to change some of them to Anchor (to use as named anchors with fscommand), but the Type drop-down list is grayed out. Anyone know why? I can't find any info on named anchors, not even in the Help. Yes I know that anchors don't work everywhere, but this is for a specific client.
Well, that's strange.
In all the named frames of Video MC, I wanted to change the frame label type from Name to Anchor. The drop-down list was grayed-out, and clicking it didn't do anything. That is.......until I exited Flash and restarted it. Now, I can click the drop down list and select anything I want. I suppose I should have thought of that earlier.
Thanks, and I hope I didn't take too much of your time! -
Unsuccessful to change the properties label
Hi expert,
i am doing to change the properties label. i used existing project that i download from sap note 817876. below is my steps:
1. i create my bundle file (fgckbLabel.properties)
2. in bundle file, i defined my properties as
HRProgram=Program
HRDate=Date
3. i change KEY in IRFServiceWrapper.java
it become com.fgckbLabel.km.resource.bundle
4. i deploy to portal
5. i restart servlet engine
6. i create metadata extension in system administration > system configuration > knowledge management > content management > global services > metadata extension.
name : fgckbLabel_metadata_extension
bundle file : com.fgckbLabel.km.resource.bundle.fgckbLabel
7. i assign the metadata extension to all properties that need to change the label.
i do the above steps in many times but i cant see any changes on my properties. it's still display the property ID. did i missing some step?
please help me..
Thank in advance,
FaezaHi Faeza,
The steps you have followed seems to be correct. This issue used to happen in our environment also, but second j2ee restarts used to fix the issue.
Few cross checks which you can perform
Please download the par file from the server and check whether the changes are present in the par file.
make sure that you have keyed in the right bundle file name.
Help link,am sure you would have seen this.
http://help.sap.com/saphelp_nw04/helpdata/en/65/6fc63ed4027f6be10000000a114084/frameset.htm
Regards,
Vinod -
How do I change time axis labels?
I have a few data plots that show some parameter on the y-axis versus time on the x-axis. The data spans several months (sometimes years). Currently my x-axis shows date labels for the left and right side of the plot and one value inbetween (happens to be 12-31-09). How can I set the axis format to show a label for each month or each major grid interval? Anything would be an improvement over just one date label.
ThanksTry right-clicking directly on the axis label and select your desired style. You must click right on the label text or you will not get the correct pop-up menu.
Using LabVIEW: 7.1.1, 8.5.1 & 2013 -
Change the period labelling in the planning book
Hi I want to change the period labelling in the planning book. currently it is showing default I want to customize it to January, february, etc. I know there is a user exit APODM006. but I want to know the process to do it. thank you
Hi friends
Is there a way to achieve this? What can be the approach to solve the requirement?
Hi Pratik,
How to go with the requirement? Can this be achieved?
Regards,
Raju.
Message was edited by:
Narayana Raju Sampathirao -
Changing the Axis Names in Chart
Hi All,
Do we have an option to change the name of the axis in the chart ? I have 3 bar type charts, instead of the common field names I want the custom names to be displayed. Is it possible, please suggest.
Thanks
NatrajHi,
Yes this is possible, if you go to 'Edit View' on your chart. Just under your report title there is a small button, if you hover over it you'll see the label is "Axis titles and labels". It's displayed as a small chart icon with an 'A' in it.
Thanks
Oli @ Innoveer -
I am using SSRS and I cannot access SQL server to answer my problem, so the solution needs to be done via SSRS only.
I am currently trying to graph some data. The problem is, the months on the X axis are aligned by calendar year. I need the first month to commence with July, with the last month on the axis to be June. This also means that the year series need to be changed
from calendar year to Australian financial year.
Screenshots are provided in the comments.Hi Northern,
Per my understanding that you want to show the month in the x axis as the order of the financial year(7,8,9,10...4,5,6) and also display the year in the series group as the financial year, right?
I have tested on my local environment and we can modify the query in the sql to get the financial year value based on the fields of Calendar year, details information below for your reference:
1. Modify the query as below:
SELECT
Calendar_Date,CASE WHEN MONTH(Calendar_Date)>=7 THEN
YEAR(Calendar_Date)+1
ELSE YEAR(Calendar_Date) END AS Financial_Year,
MONTH(Calendar_Date)as Financial_Month,
Billing_Amount
FROM TableName
order BY
Calendar_Date
2. Add the "Billing_Aomount" in the Value area, "Financial_Month" in the Category group area and "Financial_Year" in the Series group area.
3. Right click the "Financial_Month" under the Category group to select the "Category group properties",click the sorting and add below expression in the Sort by to specify the order for the month in the x-axis:
=switch(Fields!Financial_Month.Value="7",1,Fields!Financial_Month.Value="8",2,
Fields!Financial_Month.Value="9",3,Fields!Financial_Month.Value="10",4,
Fields!Financial_Month.Value="11",5,Fields!Financial_Month.Value="12",6,
Fields!Financial_Month.Value="1",7,Fields!Financial_Month.Value="2",8,
Fields!Financial_Month.Value="3",9,Fields!Financial_Month.Value="4",10,
Fields!Financial_Month.Value="5",11,Fields!Financial_Month.Value="6",12)
4. Preview you will get the sample chart display as below according to my sample data:
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Vicky Liu
TechNet Community Support -
How to edit axis labels in CR charts for crosstab report?
I have a crosstab report created from tha table where column names havie sort order attached to it as 01_Jul FY10, 02_AugFY10 etc and I am able to remove it in format field dialog box using dispaly string formula editor. So I am to display columns in specified order. but when I create chart , axis labels display column name with sort order. Is there a way I can remove sort order from column names while displaye in the chart and the legend entry box.
Help on it is highly appreciated.
FizzaCarl answered this one already
Maybe you are looking for
-
Pop up note on website / or Maintenance Note
Hi there, We are doing maintenance on our site for a day and were hoping to make every page for one day only have a note saying "Our site is under maintenance today - please come back tomorrow" etc Has anyone done this before with BC and know how to
-
Printing in GNOME on OES2 server
Hello, I'm trying to set-up a network printer in GNOME for the root user on an OES2 server. Since I'm not familiar with Linux, I'm a little bit in the dark here. The iPrint part is working (tested from a workstation), but when I try to install an iPr
-
I have a MacBook Pro running Lion. I need to use Lion to run my Dragon. I would like to partition my drive to use Mavericks for everything but the dictation software. I'm a newbie to apple
-
How to create an internal table with a types structure?
Hi experts, I've 3 internal tables with the same structure, I think I could put a type structure and put that type inside the body of the internal data, is this possible? If true, how can I put that? Example: TYPES: Begin of type_s, pe
-
Crystal Reports Web Elements - database write back question
Hi, I have a question about Web Elements. In description of them on SAP site it says they can provide "write-backs to the database". This is something I would really like to see. I have a scenario: User sees a long report and sometimes she needs to a