I have several series all using independent x axis but I have had to add code to make sure they are all showing the exact same range. Is it not possible to have them all share the same x axis? Each time I add a series I tried simply finding the current CategoryDateTimeXAxis and setting it to the series's xaxis but the axis labels are never displayed.
Is there an example of adding a CategoryDateTimeXAxis to the xaml and then programmatically adding the a series which uses that CategoryDateTimeXAxis?
I am having this same issue. I have a line series and a financial price series. The financial price series is a summary of the every 10 points in the line series. They need to share the same x axis. Every 10th value on the line series has a corresponding candle stick displaying what happened on the line series. Because one series is just a summary of the other it makes sense that they are displayed using the same X axis. Right now I have them on two different axes but I can't get them to track each other. This is the same issue that Mike is having.
I am a trial user right now and still evaluating this control. If I can't get this to work I'm afraid I'll have to purchase a different provider's controls. There are 14 days left to my trial period
Attached is a screen shot. I can send a sample project as well if you wish.
The graph is really rough at the moment. It is just graphing random data for the purpose of evaluation.
Can you please attach a sample project so that we may be able to reproduce your issue and help you further on this regard?
-Shilpa
No problem. The data is fed to the Silverlight app using a polling duplex web service so you will need to use the new polling duplex libraries provided with the Silverlight 4 toolkit.
I have forwarded your application to our development team for review. Someone from the team will respond to this thread shortly .
We appreciate your patience.
We worked on your sample and think that we were able to achieve the desired result that you were expecting .
Note that we used two CategoryDateTimeAxis as that would give a proper spacing and scale to the Axes as compared to CategoryXAxis.One has the itemsource set to Data, and the other has its ItemsSource set to SummaryData. Since the ranges of Data and SummaryData are different , MinimumValue and MaximumValue properties were set for each CategoryDateTimeXAxis so that both the axes can have the same range.
I also set the Visibility of the AxisLabels on the CategoryDateTimeXAxis to "collapsed" as it seemed redundant to have two pairs of same AxisLabels. Attached is the edited sample application.Please let me know if this solution solves your issue.
Thanks,
Shilpa
Thanks Shilpa. I haven't had a chance to test this yet because I get a build error. In my version of SL Data Visualization controls there is no MinimumValue or MaximumValue member in the CategoryDateTimeXAxis class. I have version 10.3.20103.1006 of the controls installed. Am I missing something?
gongchengshi, I have sent you information regarding the Service Release in a private support case.
Thanks for the suggestion.
I ended up using plain line series with markers but with a null brush so that the line is not visible, just markers. Does almost exactly what I need.
The issue with mixed x axis is (as you've noticed) conversion of datetime and/or numeric values, I simply didn't want to go there.
But it's nice to know that the possibility exists.
I had a similar requirement and ended up using both Numeric and CategoryDateTime axes. I used 2 series. One is a Stepline which has to use a Category axis and the other is a Scatterline which has to use the Numeric axis. All I did was set the two axis to the same min/max value and for the Numeric axis convert the DateTime to ticks before I set it as the data member. This allows me to draw my stepline with 10s of thousands of points and then add on the occational marker.
Hi,
I've successfully downloaded and have been using the patch for the last few days. So far so good, mostly.
However, my original plan was to use a scatter series for 'annotation' of the primary data series shown as a simple line. This does not work since scatter series insists on using the NumericXAxis while I must use CategoryDateTimeXAxis.
The good thing is that I don't really need to use scatter series, ANY series which'll allow me to use the same datetime x axis as my primary series is good enough for me.
I will restate the problem once again: I have a simple series with date/time value and floating point value for each data point. The date/time is shown on x axis and value on y axis as a simple line. If you manually pick a couple of values from the total date/time range of all values in this series, I want to draw markers on the chart but only for these values (so I don't want markers on ALL values of primary series since there could be thousands of those, while the 'markers' are only a few, 3-10 at most).
Is there a series I could use to achieve this?
Regards,
Drazen
Hi rawpower,
I have opened a support case and sent you a link to get the Service Release patch installer (10.3.20103.2065) which addresses this issue.
Francis"] gongchengshi, I have sent you information regarding the Service Release in a private support case. Thanks,
evaluating your product I've ran into exactly the same issue - I have one data series populated with a lot of values, X-axis being date/time values and Y-axis just doubles. This data series will be shown as a simple line.
A second data series is just a couple of values where X-axis is date/time and all the values match perfectly with the values from the other data series (in other words, set of date/time values of second series is a true subset of date/time values of the first series) and Y-axis is irrelevant. The true purpose of the second data series is to be shown as a scatter chart so that its values "annotate" the first series. In practice, users will pick values from the first series (pick date/times) and then we will add an "annotation" with comments.
From what I understood, the SL DV product does not directly support picking values from the series but I've seen 2-3 posts in the forum explaining how to do this, so no problem there.
The problem is the fact that the fix (for proper display of two series with uneven number of data points) in this thread and what I've seen elsewhere relies on availability of MinimumValue/MaximumValue and other fixes NOT present in the publically available service release. I've seen somewhere that the next release is scheduled for Feb 7th, if that is the case I can wait for it, if not, could you please let me know how to get the current service release even if it's still in "private" beta?
Thanks in advance,