[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Inverting just the chart axis, not the data

Posted on 2004-03-25
2
Medium Priority
?
293 Views
Last Modified: 2010-08-05
Hi all,

I'm currently writing an application that, amongst other things, displays data in graphs. The data is received from a datalogging unit, which contains a display that also shows the data in graphs. My problem is that I need to make my software be as uniform to the hardware graph as possible, which also means that I'll need to invert the labels on some (not all) of those graphs. (I use one graph and 6 serieslists, with graph initialisation before loading in new data).

I need for the bottom axis to show numbers from 31 to 1, instead of 1 to 31. The data itself should not be inverted. I found the BottomAxis.Inverted property, but that also inverts the data. I've tried using the serieslist items, I thought that if I inverted the X values manually it should work, but that didn't change a thing...
(tempX := IntToStr(Index);
 MainForm.DataLogChart.Series[1].Add(tempY, tempX);)
I also tried the bottomaxis.maximum and minimum properties, but max can't be < min (of course)....

So I guess my question is as follows : Is there a way to manually fill the bottomaxis labels, without conflicting situations, and without changing the order of the data? Or maybe just invert the bottom axis labels?

Thanks in advance,

Robin

0
Comment
Question by:Binsky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Author Comment

by:Binsky
ID: 10866858
Hmm,

I guess noone wanted to answer this...Too little points?

Anyways, I've coded a "quick and dirty" solution myself by now...I've filled the graph's serieslist backwards, then set the inverted property to true, which looks exactly like I wanted. I was hoping for a sturdier (easier?) solution, but this works just fine, with a minimum of overhead. I'll ask for a refund, so this question can be closed...

Robin
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10871396
Closed, 50 points refunded.
modulo
Community Support Moderator
Experts Exchange
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question