Date format in charts
Hello,
is it possible to change the date format in a chart?? Example: From 'dd.mm.YYYY' to 'dd'
Edited by: Gerrit Lober on Jun 25, 2008 2:21 PM
Hi
No it is not possible to change the date format in Chart
Bcos the chart displays the values or the date from the report.
If you need to change the display in chart then Display in the report should be changed.
Regards
M.A
Similar Messages
-
Date Formatting in Charts and Dynamic column resizing in Cross tabs
Hi All,
I am new to Design Studio, so am in desperate need of your help on the following:
Is there a way we can change the date format in x axis in charts?
For ex: Am getting dates as mm/yyyyy from BW but requirement is to show in yy-Mon
Requirement is to display data in cross tab just below the charts. How can I make the column widths in the cross tab the same as x-axis divisions in the chart? Also, this will be dynamic as depending on filter selection x axis scaling in charts will vary.
In cross tab, can I hide the column header?
Would really appreciate any kind of help from you.
Thanks & Regards
SwastiHI Swasti,
To answer your first question, in Design Studio it's what you see is what you get! so it shows the Data Labels as it is in the BEx output, if you have to modify this you have to change it in the Background.
There might be CSS workarounds, but I am not sure if that will satisfy your requirements.
You can fix the Column width, but it would be constant, aligning that to your X-axis would require a lot of Effort.
You cannot hide the Column header directly, but one workaround would be to use a white BG text component to overlay on the Crosstab.
Regards,
Fazith Ali Z -
Is possible to get Decimal Places UP to x on chart properties data format?
I can change this property on criteria column, but If I want to change Vertical Axis Labels, Data Labels...only can change decimal places from 1 to 6...but I would like to select UP to 2.
Changing xml advanced code with minDigits=2 to minDigits=0 and maxDigits=2...doesn't work.
Add an image: http://imageshack.us/photo/my-images/840/dibujoins.jpg/
Any solution??
Thanks!In a pie chart, the whole 'pie' represents 'all of the data graphed'.
In percent, that's "one hundred per cent", or "one hundred per hundred"
As a fraction, the whole circle represents 100/100, or 1/1 or 1.00 — all of which mean "one whole thing".
Smaller portions are written as fractions of the whole, with the 'whole' fixed at 100 (percent) or 1.00.
So a 20 pence piece represents 20/100 of a pound, which is 20 percent of a pound, or may be written as a decimal as 0.20 pound.
One pound is 1.00 pound, or 100% of a pound.
A 10 pound note is 10.00 pounds, or 1000% of a pound.
And getting into the range of values on your Chart 16, 455 pounds is 455.00 pounds, or 45500% of one pound, which, as you can see, is correctly represented on the chart.
Here's a pair of charts, and the table that feeds them. Same data as in your example, but with the Y axis scale showing the raw data numbers on Chart 1, and the fraction of the total (1146) that each amount represents on the chart 2.
Formatting the Y axis labels to show percent doesnt change the values. The numbers are multiplied by 100, and the % sign is attached to show that these are the number per hundred. For chart 1, where the current scale takes no account of the total, converting to percent doesn't make sense.
For Chart 2, with the current scale, the four bars show (approximately) 0.2, 0.3, 0,4 and 0.1. Altogether, that's 0.2+0.3+0.4+0.1 = 1.0
Converting Chart 2's Y axis values to percents changes the labels on the four non-zero lines to 10, 20, 30 and 40%. The four bars now show 20, 30, 40 and 10 percent. Add those up and you get 100% (which is always the total percentage of 'the whole thing'.
Regards,
Barry -
Date Format in SAP chart customizing - Gantt
Hello Everybody,
I have problems with date format in Gantt chart coding in
ABAP using xml concatenate,
when i am customizing the xml from chart designer.
I want Time(X) axis in Days but its showing in quarters or weeks.
I also tried with LineFormat but i could not get control over it.
can anybody please help me!!!
here is my code:
xml = '<?xml version="1.0" encoding="utf-8" ?><SAPChartCustomizing version="2.0">'.
CONCATENATE xml '<GlobalSettings><Dimension>PseudoThree</Dimension>' INTO xml.
CONCATENATE xml ' <TransparentColor>None</TransparentColor>' INTO xml.
CONCATENATE xml ' <ColorPalette>Tradeshow</ColorPalette>' INTO xml.
CONCATENATE xml ' <ColorOrder>Default</ColorOrder>' INTO xml.
CONCATENATE xml '<Defaults><ChartType>Gantt</ChartType></Defaults></GlobalSettings>' INTO xml.
CONCATENATE xml '<Values><Series><LineType>Direct</LineType><LineType1>Year</LineType1>
<LineType2>Month</LineType2><LineType3>Day</LineType3><LineWidth>2</LineWidth>
<MarkerShape>None</MarkerShape></Series></Values></SAPChartCustomizing>'
INTO xml.
*SEND CUSTOMIZING TO CHART ENGINE:
lo_chart->set_customizing( data = xml ).
Thanks in advance
BobbyHi Vijay,
It's for ABAP only could you please post the solution.
here i would like to share how i have given my series values:
xml = '<?xml version="1.0"?>'.
CONCATENATE xml '<ChartData>' INTO xml.
CONCATENATE xml ' <Categories>' INTO xml.
CONCATENATE xml ' <Category>Mat 1</Category>' INTO xml.
CONCATENATE xml ' <Category>Mat 2</Category>' INTO xml.
CONCATENATE xml ' <Category>Mat 3</Category>' INTO xml.
CONCATENATE xml ' </Categories>' INTO xml.
CONCATENATE xml ' <Series label="Op10" Customizing="Op10">' INTO xml.
CONCATENATE xml ' <Point><Value type="time">20010101</Value>' INTO xml.
CONCATENATE xml ' <Value type="time">20010115</Value>' INTO xml.
CONCATENATE xml ' <Value type="time">20010120</Value>' INTO xml.
CONCATENATE xml ' <Value type="time">20010130</Value></Point>' INTO xml.
CONCATENATE xml ' <Point><Value type="time">20010101</Value>' INTO xml.
CONCATENATE xml ' <Value type="time">20010125</Value></Point>' INTO xml.
CONCATENATE xml ' </Series>' INTO xml.
Thanks again.
Bobby -
How to set date format dd.MM.yy for chart time axis
Is it possible to set default date format dd.MM.yy instead of MM/dd/yy in Flex charts without using label function ?
In this case we do not know beforehand the length of the time span; it can be minutes, days or weeks.
Setting locales in compiler options or locale settings for application seems not having any effect.For example
- mx:Barchar
- if time span is 4 minutes; time axis format is HH:mm and shows 10:00, 10:01, 10:02, 10:03 ; *this correct*
- if time span is 5 days; time labels are automatically in MM/dd/yy format; question is how to change this automation
to format dd.MM.yy
- how to do this *without* dateformatter and *without* coding "if time span is is longer than day nyt less than week then use dd.MM.yy format" ? -
Hi,
i have some troubles with a "normal" line-chart. (graphType="LINE_VERT_ABS")
The data is something like that:
xvalue yvalue
01.01.2006 100
02.01.2006 101
03.01.2006 102
04.01.2006 101
01.02.2006 102
02.02.2006 102
03.02.2006 101
01.03.2006 100
02.03.2006 99
03.03.2006 101
I define the chart with:
groups="xvalue" dataValues="yvalue"
worked fine, BUT:
I had to change the date-format from dd.mm.yyyy to "only" mm/yy.
Now just 1 yvalue of every xvalue-group is displayed - the chart has only the following points:
xvalue yvalue
01/06 100
02/06 102
03/06 100
Does anybody know a solution where every point is shown just with the other date-format?Change your default system date format.
-
Export the data of a chart to Excel format
I developed Histogram and Bar diagram in java Graphics2D pkg. I want to export the data of the chart in Excel format so that the file can be opened in Excel tool.
Is this something that might help....
<!-- Loop through the range to create a poplist -->
<%
java.util.ArrayList alDepartments = new java.util.ArrayList();
%>
<select name="DepartmentId">
<c:forEach var="listEntry" items="${bindings.DepartmentsListView1.rangeSet}">
<c:set var="thisdept" value="${listEntry.DepartmentId}"/>
<%
//<c:out value='${listEntry.DepartmentId}'/>
String strThisDept = ((Number) pageContext.getAttribute("thisdept")).toString();
System.out.println( strThisDept );
alDepartments.add( strThisDept );
%>
<c:choose>
<c:when test="${listEntry.DepartmentId eq bindings['DepartmentId'].attributeValue}">
<option value="<c:out value='${listEntry.DepartmentId}'/>" selected="true">
<c:out value="${listEntry.DepartmentName}"/>
</option>
</c:when>
<c:otherwise>
<option value="<c:out value='${listEntry.DepartmentId}'/>">
<c:out value="${listEntry.DepartmentName}"/>
</option>
</c:otherwise>
</c:choose>
</c:forEach>
<%
session.setAttribute("sessionalDepartments", alDepartments );
%>
</select> -
Custom Formatting Of Chart Legends
I've been playing with Flex Charting, and I have lots of nice
looking graphs that I've created from database feeds. However, what
I really want to know how to do is format the chart legend better.
For example I have a pie chart that has about 50 different data
items/series and the legend is huge in either horizontal or
vertical mode it prints all the way down the page. How can I make
it two, three or more columns?Hi Justin,
I think, there is no way to do such a customization with the standard Javadoc (i.e. powered by the Standard Doclet).
After all, the job of the standard Javadoc is doing standard (general) things and I just cannot imagine any general rule (setting or option) that would embrace all kinds of possible customizations about displaying of annotations.
So, the only way in your situation would be to modify the doclet itself. You can try tweaking the standard doclet: overload some its classes or change sources (according to the license they provide). However, I just can say, that way proved to have lots of limitations.
Fortunately, I could suggest you a different rote that would allow you solving your problem in a few minutes. We have a product called "DocFlex/Javadoc":
http://www.filigris.com/products/docflex_javadoc/
This is a highly customizable Javadoc doclet. More exactly, this is a system for rapid development of professional quality doclets (with the support of both framed/single-file HTML and RTF output).
With that tool, the generation of every sort of Javadoc output is programmed in special templates (using graphic Template Designer). The product is provided with the "standard template set" that generates the HTML Java API documentation very similar to the standard Javadoc.
In fact, to solve you task, you will need to modify a subtemplate called "annotations.tpl". See on this page: http://www.filigris.com/products/docflex_javadoc/templates.php
If you are interested about all this, we could help you to modify the necessary template absolutely free. Then, you will need only to buy a full product license to have everything work without limitations and that will be all!
So, if you are interested, please let us know by sending a e-mail to the address found on this page:
http://www.filigris.com/company/contact.php
Regards,
Leonid Rudy
http://www.docflex.com -
Is there a way to set a custom date format on a report column? I am trying to use a format mask and it doesn't appear to be working. Maybe someone can spot my mistake:
Query: Hours Worked = Clock_IN - Clock_OUT
Format mask for Clock In/Clock Out - DD-MON-YYYY HH24:MI (from list)
Format mask for Hours Worked column: HH:MI (hand typed)
actual display (Timecard ID is edit link):
Timecard Employee Vehicle Clock IN Clock OUT Hours Worked
6 20044 26045 30-JUN-2006 13:28 30-JUN-2006 13:31 +000000000 00:03:43.000000
28 20044 144 06-JUL-2006 10:11 06-JUL-2006 10:39 +000000000 00:28:43.000000
48 20044 144 07-JUL-2006 09:03 07-JUL-2006 16:30 +000000000 07:27:50.000000
108 20044 26045 18-JUL-2006 15:35
128 20044 144 19-JUL-2006 14:57 19-JUL-2006 15:02 +000000000 00:05:06.000000These programs also..
GFW_PROG_BAR : Bar chart example
GFW_PROG_PIE: Pie chart example -
"date format not recognised" in DBMS_SESSION, on page over db_link
Hi,
I have an Apex 4.0 page which has a region that gets data constituted from a connection across a database link.
The host database is 11.1.0.6 and the remote database is 9.0.1. (Both Standard Edition)
I am using EPG.
Intermittently, I receive the following error (having turned debugging on):
Wed, 25 Aug 2010 10:21:53 GMT
ORA-20867: ORA-01821: date format not recognized
ORA-02063: preceding line from CLIFF
ORA-06512: at "SYS.DBMS_SESSION", line 157
ORA-06512: at "APEX_040000.WWV_FLOW_LANG", line 387
ORA-06512: at "APEX_040000.WWV_FLOW", line 9284
ORA-06512: at "APEX_040000.F", line 267
ORA-06512: at "APEX_040000.F", line 294
ORA-06512: at line 30
I'm somewhat confused as to what is causing the generation of this error.
After receiving this error, anything I else that I do that involves building 'pages' works perfectly fine. I can login/out, no problems.
However, if I try and RUN any page within my application thereafter (all of these access local DB information apart the 1 that generates the error), I continue to receive exactly the same error - no matter which page I am trying to access.
Help?
- Tony.Hi Patrick,
No. I haven't yet applied the patchset. May do that this afternoon now.
I don't believe I've manually set any date formats anywhere. Just entered the Builder with default options (apart from choosing a theme) and away I went!!
What surprises me is that the application has no problems viewing all the data. The functionality all seems fine. I had this working on a previous setup for months,. without any problems, using version 3.2. (This wasn't migrated though, this was a rebuild from scratch.)
From further "tests", the error seems to occur when I edit the page that involves the remote data.
Normally, a user would land on the page from having used a hyperlink column on a previous page's classic report region.
The point at which it all starts to go wrong is if I connect to the page as normal, but then EDIT the page, and then try and re-run it.
The problem with the date format then re-occurs repetitively, no matter which page I try and view. Sometimes pages will load some components, but then generate odd errors with others. e.g. I have a small series of 3 dial charts, all with slightly varying SQL series (same SQL, slightly different where clause). Now I am seeing that 1 may load and 2 may give odd flash errors...
Right now, I just tried to Export my application - and I still got given the date format error!! Sub-sequent retries allowed the operation to complete successfully.
The only way I seem to be able to eradicate the recurring errors is to kill all the currently connected ANONYMOUS users in the DB, and then relog to the application.
- Tony. -
Show complete date range in chart
I created a table of three columns -- date, person 1, and person 2. Under each person and across from each date is a value (the person's weight). The dates run from March 2 to June 9. When I turned the data in this table into a simple line chart, the chart shows data values only from May 8 to June 6. I have recreated the chart several times, thinking that I must have missed highlighting some of the cells, but I get the same results every time. What am I missing? Thanks for any help you can offer. Dick
Hello Frederick,
A single unit (1.0) of Date/Time is a Day. You can enter a Date, format it to your liking, do math on it, and create strings that combine dates. Here's an example:
The expression in the Week Range cells under Start Date-> is:
=$B$1+(ROW()-2)*7&"-"&$B$1+(ROW()-1)*7-1
Give it a try,
Jerry -
I want the date to appear in Mmm-dd format - but I keep
getting the full ODBC date format
my query:
<cfquery name="monthlyChart" datasource="2onboard">
SELECT distance, time, walkDate
FROM bockWalk
WHERE month(walkDate)=#month(Now())# AND
year(walkDate)=#year(Now())#
</cfquery>
my cfchart:
<cfchart format="swf"
style="/xml/dailyDistanceGraphs.xml"
chartheight="175"
chartwidth="575"
showlegend="no"
showborder="yes"
show3d="no"
foregroundcolor="000000"
scalefrom="0"
yaxistitle="Mileage">
<cfchartseries type="bar"
query="monthlyChart"
valuecolumn="distance"
itemcolumn="walkDate"
seriescolor="ff0000">
</cfchartseries>
</cfchart>
I've even tried formating it with an XML file
Part of XML file
<xAxis>
<labelStyle isMultiline="false" orientation="vertical"
/>
<labelFormat style="ShortDate" pattern="Mmm-dd" />
</xAxis>quote:
Originally posted by:
jkgiven
MikerRoo...
Your solution stacks all my entries into one column instead
of one for each date, why/how fix?
Why didn't the <labelFormat style="ShortDate:
pattern="MMM-dd" /> line in my xml work?
Can you explain, or point me to a source, of how your lines
work? - I really need to learn XML but it just doesn't seem to
quite make sense to me.
Your entries are all in one column because either:
(1) You did not set the parseFormat pattern to match what was
being returned by the database
or
(2) The chart granularity is set for monthly data and the
data does not span enough time. Change the dateTimeStyle to:
<dateTimeStyle majorUnit="Day" minorUnit="Day"/>
<labelFormat style="ShortDate" pattern="Mmm-dd" /> did
not work because (1) you needed to switch the axis mode to datetime
and (2) the chart engine is very stupid and needs to be told
exactly how to parse the values returned in the query. That is the
purpose of the <parseFormat> tag.
Finally, you do not need to learn XML per se.
The XML styles are covered, a little, in the docs starting at
<cfchart>
There is a handy tool, webcharts designer, that you can use
to generate xml styles at:
c:\CFusionMX7\charting\webcharts.bat
The Webcharts user guide covers the available styles in more
detail. You can download that here:
http://www.webcharts3d.com/website/WebCharts50/download/index.jsp -
I've seen the thread that says Numbers does not support a chart with a date axis. That is, a chart derived from a table that has a date column with dates irregularly spaced in time.
For example, here's a table of visits to a supermarket and the price of Wheaties on each visit:
DATE PRICE
8/12/90 $3.50
8/14/90 $3.60
9/2/92 $4.30
6/4/94 $4.00
Right now, if you turn this into a chart, you get a graph with each data point paced equally apart. Useless. What you want is a chart with an x-axis that's a date range, with each data point plotted at the appropriate point along that range.
I'm surprised that Apple doesn't support this feature. So, two questions.
1. Anyone know if this is in the pipeline for the next version of Numbers? I'm ready to chuck Excel, but this is a show-stopper for me. Can't switch without this feature. Anyone know when the next version is due?
2. Anyone know any reasonable workarounds?
Thanks.Hello
You wrote:
+<ponders>Now why did I purchase iWork'08?</ponders>+
I really don't understand why.
You had a 30 days free trial version giving enough time to see if the app was fitting your needs.
But don't worry, it appears that you are numerous to do that.
To be back to the app itself, it appears that the choices ruling dates are not perfectly consistent.
For some aspects they looks like strings, for others, they look like numbers.
I was acustomed to dates being a number displaid as a dateString.
For instance, if a cell contains 37995 in an AW spreadsheet, when I give it the date format, it is displaid as: 10/01/2008 (I am using a French system).
In Numbers it's not exactly that and I can't get it displaying 37995 as a date.
In fact I knows, but it requires an AppleScript.
If someone found a way to do that with Numbers's functions, I am interested.
Yvan KOENIG (from FRANCE dimanche 6 janvier 2008 15:51:47) -
Data format to transfer data through DTW
Dear all,
I can't find the documentation which has information about Data Format to fill template to transfer data via DTW to SAP B1.
Example:
Account code : 20 Character
Active Account : valid entry tYes, tNO
etc ..
Anyone can help ?
best regards,
SuryaSurya,
Please take a look at the Wiki e-book. It seems you are trying the Chart of Accounts template.
https://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOne...ToGo-10.DataTransfer+Workbench
Also, the SDK Help files have useful information about the valid values for different objects.
Suda -
Controlling the data formatting in excel using jsp.
Hi,
How to controlling the data formatting in excel using jsp with out using external jar files such as "jexcel" and "POI". And one more limitation is that it should be compatible with java 1.2.1dineshniot wrote:
Hi - Is there any possibility to automatically display the chart for the logged datas using write to measurement file or write to data file? Please let me know as soon as possible.
Thanks and Regards,
Dinesh
As an aside, "data" is already a plural. The singular is "datum."
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Maybe you are looking for
-
What is difference between hostd, Vpxa and vpxd.
what is difference between hostd, Vpxa and vpxd. whats there purpose in esx
-
Using a serial port via kermit and a USB adapter
I have need to use a USB->Serial adapter for connecting to console ports (Firewalls, etc). I bought a nice Keyspan adapter for this. First, I've not been able to find a version of kermit that will work on Snow Leopard. Anyone have an updated version?
-
Lately, I've been having a lot of problems. My phone is only a year old. My phone would be fully charged, then 10 minutes later die for no reason & would not turn back on. I decided to buy a new battery & try it out. Gladly, it worked. I also decided
-
Problem in seeing the .xls and .pps file content
hi all i have uploaded files to my server using jsp and i am giving the link to see the uploaded files to user it is working fine for .doc,.jpg ,.html ,.txt ,.ppt files but not for .xls and .pps files thought when on save traget as.... (on user's com
-
After importing photos shot on a Nikon D7000 none of the GPS data transfers into Lightroom.
GPS data doesn't transfer with the photo into Lightroom. Is there a proceedure to correct this?