473,395 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problems With X Scale Number Format In Chart

I am charting data from a query that consists of a Date/Time field and
a Number field. The Date/Time field is the x scale on my chart.
Sometimes data is collected from different times during the one day.
I need to be able to see these times as different time points on the x
scale of my chart. To accomplish this I am using the following
statement as the row source for my chart: "SELECT
(Format([Date],"DDDDD HAMPM")),Max([Baro]) AS [Baro1] FROM [Baro]
GROUP BY (Int([Date]*24)),(Format([Date],"DDDDD HAMPM"));"

I am using the custom number format "d/mm/yyyy h:mm" for the x scale.
I have the "minimum", "maximum", "major unit" and "minor unit" set to
auto.

The different data points during a single day display correctly on the
chart, but despite trying everything that I can think of, I cannot
make the x scale Date/Time values display correctly. They are
displaying what seems to be design data e.g. "1/1/1990 00:00" etc. I
have tried other date formats but they all have a similar problem and
do not display correctly.

If I remove the "HAMPM" from the charts rowsource, the dates display
fine, but obviously the chart does not differentiate between different
times in a given day along the x axis as I require. There appears to
be some conflict with telling the chart that I want to see hourly data
by including the "HAMPM" part of the rowsource statement and the
format of the x axis date information. Even a simple "Date" format
does not display correctly.

Have I missed something obvious? I have charted the same data in
Excel and it looks fine. The big difference with an Excel chart is
that it doesn't rely on the rowsource statement in the same way that
an Access chart does.

If anyone can shed any light on this, it would be greatly appreciated.

Jan 28 '07 #1
0 2481

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ratnakar Pedagani | last post by:
Hi, I'm Ratnakar Pedagani. I'm writing a program in visual basic to display XYscatter or line chart. I'm getting values from a file which consists of 10000 lines. For every line in the file i...
1
by: Alan | last post by:
Hi there, Are there Excel charting gurus here?? If so then please read on... Sorry for the cross-post but I'm not familiar with the Excel groups. I've posted to asp.general because if I have...
5
by: Alan | last post by:
Hi there, Are there Excel charting gurus here?? If so then please read on... Sorry for the cross-post but I'm not familiar with the Excel groups. I've posted to asp.general because if I have...
1
by: Eric | last post by:
I am trying to figure out a good way to implement a XSLT transformation. Basically my goal is that I want to be able to ouput the following XML in a document: <chart type="pie" width="100"...
2
by: borekfm | last post by:
Hitting two problems when running a new report I've created, that contains a chart/graph. The chart shows three series, two are shown as lines and one as an area. The data come from three different...
1
by: S. van Beek | last post by:
Dear reader, A Microsoft Graph 2000 chart is as OLE class available in a form. If the form opens a diagram will be produced. Because of the variation in the figures for these diagrams...
2
by: DaveD170 | last post by:
Hi everybody, I'm newbie in c# and I'm having trouble in creating an excel chart. I have vector of data that my program calculated. It's in the next format: X Y 0.1 100 0.2 90...
6
by: Sunny | last post by:
Hi Is there a way to find a proper distance between large numbers. For example, if i have a set of numbers like: 10, 40, 80, 100, 500, 10000 Now if I have to create a break points between these...
2
by: AliR \(VC++ MVP\) | last post by:
I'm trying to write a RTF render code in C#. I have the code in C++/MFC and it works fine, but I have run into a problem with the C# code. I think the C# code is from Microsoft, and I added...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.