I’m able to turn the SciChartOverview control so that it appears vertical and am able to get the grips to flow vertically as well but whenever the data is flowing, it still flows horizontally. How do I get it to flow vertically? See attached image for what it currently does.
- Brett Bousman asked 4 years ago
- last active 4 years ago
I’m adding an annotation to a chart with a DateTime x-axis. Without a label the annotation is successfully added. However, if I specify a label I get an InvalidOperationException when Add() is called. The exception message is “The Type this is a test is not a valid Comparable Type”}:
var annotation = new VerticalLineAnnotation
{
VerticalAlignment = VerticalAlignment.Stretch,
ShowLabel = true,
X1 = time.DateTime,
Stroke = System.Windows.Media.Brushes.Orange,
LabelPlacement = LabelPlacement.TopRight,
LabelValue = "this is a test",
LabelsOrientation = Orientation.Vertical
};
MyChart.Annotations.Add(annotation);
The LabelValue is obviously of type string and non-null and indeed of type IComparable. Any reason I can’t add it?
- Dan Pilat asked 7 years ago
- last active 6 years ago