Advanced Forum Search Results
-
The snippet above is missing the Orientation property - it should be set to X or Y. Once that's done, the exception that's currently being thrown will go away and you should see the chart without the corresponding Gridlines.
If that doesn't help, please try doing something similar with my ChartBuilder sample ...
-
Ashok,
Anything that can be done in XAML can be done in code. Translating my example above into code shouldn't be too involved - just remember that opening tags are constructors and attributes/content are property assignments, and you should be pretty much set. :)
Good luck!
-
Manually setting the Axis.IntervalType and Interval is usually a good way to control stuff like this.
-
ActiveDataPoints may already be sorted - if so, then maybe you can do a binary search to find the nearest one more quickly?
-
Have you tried setting the Interval of the IndependentAxis? Have a look at the bubble example here for some other ideas, perhaps:
http://blogs.msdn.com/delay/archive/2008/12/09/silverlight-charting-gets-a-host-of-improvements-silverlight-toolkit-december-08-release-now-available.aspx
-
As other posters have suggested, the best way to ensure an Axis only shows integer values along its length is probably to set its Minimum=[integer value], Maximum=[integer value], and Interval=[integer value]. This should do the trick whether the source data is integers or doubles (both of which make a fine data source).
-
Karen,
As you discovered, the call to SampleHelpers.ChangeSampleAlignmentToStretch exists only to work around a layout issue with the way the samples are hosted in the sample site. It has nothing to do with TreeMap itself; it just gets the TreeMap's parent to lay it out as large as possible (it'd be the same situation as if you ...
-
Glad you got it sorted out! :)
FYI, we don't currently support splining, but we'd like to in a future release. For now, you may be able to approximate it yourself by adding additional data points to simulate the curve? Just an idea...
-
If the original poster's intent is to rotate AreaSeries 90 degrees clockwise (kind of like how you'd transform ColumnSeries to get BarSeries), that feature is not currently supported. In fact, I'm not sure this is a very common feature to have - do you have any examples of things that do this (like Excel, etc.)?
Thanks!
-
Josh,
Your idea seems good to me as well. One day we may support "missing data" which you could use to create a line break here - but we don't today and I don't see a good way of telling LineSeries to obscure parts of itself but not others.
One alternative approach would be to NOT use LineSeries for the 5 boundary markers and ...