Line Graph date format
Hi,
I Created line graph
x axis date
y axis amount
The date format is not showing correctly
For Ex : date range : 01-Jan-2011 to 10-jan-2011
in graph x - axis firsi date is showing 01-Jan-2011 and remaining dtaes are showing only days like 02 03 04
how i will get like these 01-Jan-2011 02-jan-2011 03-jan-2011 ......10-jan-2011
Please help
shk
Hi,
Replace the column formula of your date column as ,
cast(MONTHNAME(YourDateColumn) as varchar(10))||' '||cast(YEAR(YourDateColumn) as varchar(10))
Rgds,
Dpka
Similar Messages
-
Line graph date sorting and formatting
Hi Gurus
We've recently upgraded to 11.1.1.7 and noticed that our Publisher line charts with date on the x-axis are no longer sorting correctly i.e. May comes before March. The reason for this is because in <11.1.1.7 we have a formatted date mask (to_char) in our data model but sorted by the underlying canonical date which worked. Now in 11.1.1.7 it is no longer sorting by the data model sort but by the formatted date string therefore numeric values of 30 April sorted after 1 May.
We have tried a number of options to resolve:
1. using the canonical date and sorting on that corrects the sort problem but the default formatting used in long YYYY-MM-DDT00:00:00-00:00 and not readable as our chart is showing daily totals. Changing to time-series chart can allow you to format the date but see problem 2 next...
2. Time series = yes doesn't display the chart if we have a number of entities in our series i.e. multiple lines and the interactive viewer shows a red error icon. I think this may be due to the fact that our date range is not continuous ie we have a sparse data set.
3. Workaround we used was a bar chart (our users preference is line charts) with time series = false but the date format is still long.
Any advice / suggestions would be helpful.
Thanks
Nick.for #1: numbers does what is called a "stable" sort. Meaning that the previous sort order is preserved. i.e. do your sort in reverse order. Amount, then name, then date. Just did it with sample data and it was perfect. It keeps them in the original order, so if there is a match in name after you sort, you should see the amount still in the proper order.
#2: What in your formula isnt working? I just made a formula that did math on the columns to the left, sorted and it worked. Sorted by static data columns and the formula column. I know it was broken originally, years ago, but it seems to be working correctly now, at least in my quick test. You might have an issue if you are using formulas that refer to data on other rows or tables.
#3: yeah formatting can be a pain. But it is easier to do in the desktop program. No, you cannot get it for windows, sorry. If the formatting the only thing you need to do on the desktop side, then i dont see much tying you to it. I do 90% or more on the ipad and iphone now.
Jason -
Transparency fill in line graph data points does not copy over to Pages
I have created some line graphs in Numbers, and they look beautiful. Since some of my data overlap and I want users to be able to easily see where all data is on the graph, I have made the data points transparent on the foremost line. This allows the other line (which data points are filled in with another color) visible "through" the foremost line.
However, when I attempt to copy the graphs into Pages, the data points of the foremost line are no longer transparent - they are filled with white. Obviously, this defeats the entire purpose of using a transparency fill!
What can I do to make this work?
Thank you,
G. PasarescuHi Yvan,
Thank you for the tip. Unfortunately, I need to embed several of these charts into the Pages document, and cannot use Numbers instead of Pages for the document.
Interestingly, if I copy the chart from Numbers and paste it into some graphics programs (like Pixen and Pixelator), the transparency is preserved. However, pasting the same copy into other graphics programs (such as Seashore or Photoshop) somehow flattens the image, removing the transparency, and I'm back to square one.
Using a graphics program as the bridge between Numbers and Pages reduces the quality of the chart - that's why I'd like to try to make this work in Numbers / Pages.
Thanks,
Geoff -
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.
-
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.
-
Multi line HTML data formatting on SSRS reprot
Hi
I am using SQL Server Reporting Services 2008 , data fetching by Project server database,data value is getting by multi line rich text field.
when showing same data in HTML format
on ssrs reports its shows every style what ever user copy and paste on particular field like font size ,colors and them.
I have requirement to show unique font size and unique family font,I am unable to achieve this using lot of placeholder properties.
below u can find the example
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| TwitterHi Hasan,
According to your description that the some of the report data retrieved by multi line rich text field, which style show differently in the report, you have tried to create the placeholder using the HTML tag to format the data
but failed to achieve, right?
The issue due to the rich text formatting is not supported in SSRS 2008, Currently, you have mentioned that you tried to using the HTML tag to reformat the text but failed, that may due to Reporting Services support limit HTML tags when defined as placeholder
text. Please see:
• Hyperlinks: <A href>
• Fonts: <FONT>
• Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN>
• Text format: <B>, <I>, <U>, <S>
• List handling: <OL>, <UL>, <LI>
In your scenario, I recommend you to take reference of method below to get the unique format text.
Check the supported HTML tag and using the correct tag to format
If you want to get the RTF format:
If using Report Viewer Windows control, we can render the RTF file into IMG file, and then display the image on the report.
Nayan Patel written good artilce about this:
http://binaryworld.net/Main/CodeDetail.aspx?CodeId=4049
This article give us the idea to convert RTF to image and then display on the report.
You can also convert the RTF text to the plain text which by default in the report:
Article have details method about the convert for your reference:
http://stackoverflow.com/questions/2987501/rtf-to-text-in-sql-server
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
Similar threads for your reference:
RTF in SSRS - SQL 2008 R2
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
Personally, I recommend you that submit this suggestion 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 release of SQL Server. Your feedback is valuable for us to improve our products and increase
the level of service provided.
Thanks for your understanding.
Regards
Vicky Liu -
Cross tab & Line Graph – Data Sorting issue
Hi,
Want to display data in specific order in cross tab row & in graph as shown below
Account Name
Average
Median
In the same order data has been retrieved from the database but when it comes to Crystal report, its reordering the data in alphabetical order as shown below due to the order set in Group option
Example: 1
ABC
Average
Median
Example: 2
Average
Median
XYZ
Please note u201CAverageu201D & Medianu201D are constant but Account name will vary based on selection.
How this can be achieved? How Specific Order can be used in this case?
Please help... Itu2019s urgentu2026
Thanks,
ThakurSHi
Under "chart expert" in "data" tab where you add the fields in chart you see "on change of" and "show" values..
After adding the required on "change of fields" if you would highlight that field "group option" tab will get enabled where you will find the "sort order" drop down. There is an option "In Original Order" which will sort the fields as fetched from Database
Same option is available in Cross-Tab
Regards,
Shantanu -
Displaying Line Graph Data under the same
Hello experts,
I have a jspx page with a line chart in it, what I need is a way to build a table under it with the same informations that are being show on the graph. Any ideas?
My Jdeveloper version is 11.1.1.3.0
Thanks in advanceHi Navaneeth,
I need to create something like this image [http://img17.imageshack.us/i/teamproductivity.jpg/]. And the months can repeat by the years, so in the LineGraph it´s Year/Month in the X-Asis and Team1Km/Team2Km in the lines. How to create the table under the graph with the values of its nodes ?
Any help is welcome.
Marcos
Edited by: Marcos Vizine on 03/03/2011 11:00 -
Engage 2008: Line Graph, can't start 2nd series @ different X value
Using Xcelsius Engage 2008
Created line chart w/ 2 series
2nd series does not start at the same X value as series 1.
How do I generate the second series so the initial part of my 2nd series line does not show all 0s?
Thank you
Nancy GriffinHi Tammy.
I'm using Xcelsius version: 5.0.0.99 and Build number 12,0,0,121. I am not sure if S1 is already installed. If not, where can I get it?
This is what I'm trying to do:
1) created a basic line graph with two series
Series 1 Data has 2 columns
Series 1 Column 1 includes dates. THis will be the labels for the X axis:
1/1/07
1/6/07
1/12/07
1/1/08
1/6/08
Column 2 includes the line graph data for series 1
30
50
10
90
120, etc
Series 2 column 1 - THis is the same as series 1 since it includes the same labels for the X axis
Series 2 column 2 includes the data for the 2nd line graph
HERE's WHERE IT IS DIFFERENT
I have no data for dates 1/1, 1/6, 1/12/07. My data starts in
2008. I don't want the graph to show 0s for the first 3 dates and then jump up to the 2008 data. Is there a way to make the 2nd line chart start on 1/1/08?
thank you. Really appreciate your help. -
Issue with Date Format in line Graph X-AXIS
Hi all,
I have a line graph, with data in x-axis and integer values in y-axis.
I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
How to change this format.
Regards,
Krishna PrasadHi,
Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
select * from test
where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
cheers
VT
Edited by: VT on Oct 26, 2010 4:16 PM -
Line Graph x axis tick label date format
Hi to all,
how can i format the date of the x axis label of a line graph?
by now the date label is shown with a timestamp, e.g. 01.12.11 00:00.
How can i change this to a simple date like 01.12.11?
Please help. Thank you.
Best regards
GunnarI would think that the datatype of the date attribute is a TimeStamp ? If yes changing it should help ..
-
Hw can I generate XY graphs directly in a vector data format for printing ie pdf
A further question re. Printing of Graphs
There are many similar questions but none where the answers are acceptably adiquite or two or three were the link was broken,
"Developer exchange forums have been moved" and a pointer to the new
site, unfort it was hard to find or guess the rest of the link.
So here is my angle on this problem;
So far I have tried;
Using property node: "App. Printing.Default Printer" to select the printer to use, then
Using Report Functions to print controls;
New Report, to generate a new report reference
Set Report Orientation
Set Report Margins
Set Report Font
Set Report Header Text
Set Report Font
Set Report Footer Text
loop for each page
Set Report Footer Text, With page number
Append Control Image to Report, several times
New Report Page
Until the end of the last page
Print Report
Dispose Report
Initially using existing XY-Graph controls from the front panel. These
are on a page of a Tab control to hide these controls while not in use
and allow them to be hidden while generating the printout.
Unfortunately when this page is hidden any graph scales set to
autoscale don't, (normally don't need to and would otherwise be a waste
of processor time), resulting in graph plots going off scale or
becoming a line along the axis.
An issue is that what is printed appears to be read from the screen, so resolution is much
lower than required for for printing, resulting in rather pixellated
printed versions. These prints will usually be emailed, so tried the
pdf995 "printer driver" but the resulting pdf file size is rather large.
Currently trying Plot-XY on a much larger picture so as to get
adequate resolution for printing, however suspect this will result in
much larger pdf files and probably cause other problems.
The preferred solution in this case will probably be to generate print
output, instead of based on raster images (ie jpg or png), but on a
vector format, maybe via postscript or directly in pdf format.
Similar graphs currently printed from Excel via pdf995
(or OpenOffice) result in files around 20 kb per page. these can be printed at any size
(at least upto 64 times) without becoming pixellated, so assume these
are vector based.
Currently a page with 4 XY Graph controls uses around 40 to 45 kb per
page but resolution is poor and overcoming that may push file size up
to 150 to 200 kb per page, and the whole job can be 50 to 100 pages.
Are there any functions to generate XY graphs directly in a vector data format preferably in pdf or via PostScript format.
Cheers
DarrylHi Darryl,
I was able to reproduce the issue you were seeing, in which a report generation was taking up a large amount of space per page in a PDF utility. I found; however, using my attached VI (notice that it is set to *.png) and the CutePDF utility (free download at http://www.cutepdf.com/) I was able to get a per page size of about 10 KB. Also using the png I found that the image quality seemed to be quite high.
Please try incorporating this solution into your application and see if it reduces your file sizes.
Thanks and have a good evening!
Cheers,
Jonah
Applications Engineer
National Instruments
Jonah Paul
Marketing Manager, Embedded Software
Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
Attachments:
print_XY Graph.vi 23 KB -
How do I make a line graph that shows temperature readings taken on specific dates?
I need to make a chart of my wife's temperatures taken via ovulation thermometer. All I need is a line graph that shows the temperatures on the y axis and the dates the measurements were taken on the x axis.
What is the easiest way to do this? Please explain in detail as I have almost no knowledge regarding Numbers. Thanks.You can construct a Line graph or a Scatter graph to display this.
The two are similar, but require the data to be set up differently.
A Line graph is a Category graph.
Each 'date' is a text value that names a category. The categories are equally spaced along the category axis. Measurements taken on day 1, day 2 and day 4 would be equally spaced with respect to the category axis.
Each temperature reading is a numerical value, and is represented on the graph by the distance it is placed from (and usually above) the category axis.
A Scatter graph has two value axes.
Each Date is a Date and Time value. The position of these values depends on the value itself. Measurements taken on February 1, February 2 and February 4 wound not be equally spaced. Along the Date axis, the space between the second and third dates would be twice as wide as that between the first and second cates.
Each temperature reading is a numerical value, and is represented on the graph in the same manner as in the Line graph.
Here's an example of each, using the same data set.
For the Line graph (left), the Category labels (dates) are placed in a Header column, and the temperatures in a non-header column,
For the Scatter graph, both the dates and the temperatures are in non-header columns. The Chart Inspector was used to Connect the data points with straight line segments, and the weight of these lines (and size of the data point markers) was increased to more closely match the weights and sizes in the Line graph.
Data on the graphs is not intended to have any similarity to temperatures measured for your purposes.
The construct the line graph:
Set up the data and labels as described.
Select the cells containing the data (column B in my case).
Click the Chart button and choose the Line Chart.
To construct the scatter chart:
Set up the data as described.
Select the cells containing the date and temperature data (columns A and B for mine)
Click the Chart button, and select the Scatter Chart button (third from the bottom),
In the Chart inspector, click the Series button, then set the Connection Points menu to Straight. Change the Data Point size yo 15.
Click anywhere on the line to select it, then in the Stroke section of the Format bar, set the line weight to 4 points.
Click on the box containing the dates (under the chart), then click the ruler icon in the Inspector to show the metrics inspector. Use the Rotate control to set the angle for the dates to about 75°.
Click on the label for this axis (Dates) and drag it to a position below the date labels.
Regards,
Barry -
How to display no. of seconds in HH:MM:SS format on Y-Axis in Line Graph
Hi All,
I have two columns as No. of Seconds and Date.
I want to create a Line Graph with Date on Horizontal Axis (X - Axis) and, on Vertical Axis (Y - Axis) I want to represent the No. of Seconds as HH:MM:SS format.
For example, If the DB returns No. of Seconds as 93, I want to get it on Vertical Axis as 00:01:33 (00 hours, 01 Minute, 33 seconds), If it is 145 seconds , I want to get it as 00:02:25....etc.
Can anyone please help me on this ?Srini VEERAVALLI I already used this code and I'm getting HH:MM:SS format in Table View, but my requirement is I need to represent the HH:MM:SS format on Vertical Axis in Graph View. In Graph View by default it's considering No. of Seconds only.....
Srini VEERAVALLI, is your full name is Srinivas Veeravalli ? -
Combine output from two data sources for a line graph.
Hello Experts,
I need your help in following scenario.
Scenario - We have a line graph created in VC. We have a numeric field in the data seris and a date field in the Category axis.
This is working fine.
Requirement - Customer wants month names instead of dates on the category axis of the line graph.
Problem - The RFC which is providing the data to line graph doesnot have a output field giving month names instead it has dates.
Options Tried - Tried using 'Union' and 'Switch' operator with a RFC giving month names. Unfortunately this doesnot work.
One close try was with 'union' operator but it ignores the numeric fields.
Any help would be highly appreciated.
Thanks & Regards,
Amit KadeHello Sandeep,
Thank you for the reply. I did try to do changes in RFC, I am calling a FM which gives me month names in my original RFC.
But still the outpot of this FM is in a seperate table and anyways I will have to combine these two tables.
Problem still remains the same.
I tried using 'Filter' to convert date format but after applying filter my VC application is not deploying.
Thanks,
Amit Kade
Maybe you are looking for
-
Where is the Lougout button on CISCO E3200 web configuration page
I do not see a Logout button on the web configuration interface. Should not there be one?
-
How to get Result Class from Model invocation
Hi experts, I would like to invoke a webservice request which return a list of Object as a response. I refer to the adaptive web service model for web dynpro, however, the example is only to sent a list of input object to the web service. //@@begin j
-
My iPod broke, what do I do now?
Is it possible to get protection services after your iPod's already broken? If not, how do I get it repaired? I'm willing to pay.
-
My 80GB iPod is only 2 weeks old. I have been using manual download for all songs and pictures since I have two computers. My library is on my home PC, but I connect at work to play through my computer and to purchase from iTunes (I transfer purchase
-
dear friends; i have added menu bar in Jframe which is containes menues. AWT component is added the the same frame . problem is: menues are overlapping with awt component while i clicked the menu bar. dear friends help me immediately. thank u