HI,
I have got two tables (1x 96 columns, 1 x 3 colums) which include a Date like "05.03.2015 : 12:00:01".
I now want to insert in a DataChart values of 6 columns of table 1 and two values of columns of table 2.
Inserting the 6 of the first table is functional. Inserting the other values it is not possible, cause i think i set the datasource for CategoryDateTimeXAxis xAxis to the dateTime-Field of my first table.
How can i build a xAxis, which starts from 24 hours until now in the past so i can insert all builded lineSeries of both tables?
For better understanding?!?:
Table 1
05.03.2015 : 12:00:01,100,55,66,77,88,99
05.03.2015 : 12:01:01,100,33,44,22,11,99
05.03.2015 : 12:02:01,100,11,14,55,66,22
etc. (1 Minute/line)
Table 2
05.03.2015 : 12:00:44,1,5
05.03.2015 : 12:05:23,2,4
05.03.2015 : 12:10:11,5,3
etc. (5 Minute/line)
Hi,
The Axis only has one data source. So the only way to do this is to combine your two tables into a single table. You could do this in a number of ways. You could create a new DataTable in code and then loop through the rows of each of your existing tables and create a corresponding row in the new table. Or you could do the same using an UltraDataSource.
That's not functional for me. Is it possible to add two CategoryDateTimeXAxis xAxis and synchronize them by DateTime?
I don't think so... but I'm not sure I understand exactly what you are trying to do. You can have two axis, but I think they will overlay each other, not appear as one continuous series.
Overlaying is OK, but i want to synchronize them.
axis1 has e.g. a DateTime-Point every 5 Minutes starting with something like 03.05.2015 12:01:21 axis2 starts with 03.05.2015 11:59:28 and repeats every Minute. How can I be sure, that the Points of axis1 meets the right Points of axis2? Normaly axis 2 contains 1440 Points (24 hour) and axis1 contains 288 Points. But the First Point of both axis can differ nearly up to 5 Minutes and are never exact the same (differ in Minutes and Seconds).
Sorry, but I am still having a really hard time understanding what you are trying to do. Is there any way you could mock up a screen shot of something to show me what you want it to look like?
After implementing the crosshair-example of an other thread. i saw, that the DateTime-Axis contains points between the first DateTime-Value and the last DateTime-Value in steps of seconds.
Now i have two tables with different values (rows and columns).
Is it possible to put them together in one X-Axis (i can add null-Value two missing column-Values not Zero)?
But if that isn't possible, are the shown both x-Axis are synchronised?
In the example-Picture you can see two series. Each of them occurs on a different xAxis. Both contains Date-Values from the last Day as '2015-03-05 10:00:05' and differs only in Hours, Minutes, and seconds.
The only difference in my opinion is the Count of Points. Series one contains 1440 Points, series two contains only 288 Points.
Hi, you can set the MinimumValue and MaximumValue of the two x axes in order to synchronize them to the same range.
By default the MinimumValue and MaximumValue equate to the min and max time present in your data. But if you know the true min and max time values you can set them to each DateTimeXAxis to synchronize the ranges. You can hide any x axis you don't want to see by setting the labels not to be visible, and using transparent colors for MajorStroke, and Stroke.
-Graham