SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

1
0
Images
  • You must to post comments
0
0

Hi Daniel,

The following code will place a label on the Axis:

var axisCanvas = axisBase.ModifierAxisCanvas;
var uiElement = new TextBlock() { Text = "Hello World!" } ;
Canvas.SetLeft(uiElement, 100); 
Canvas.SetTop(uiElement, 10); 
axisCanvas.Children.Add(element);

Please be sure in custom modifiers to clear out labels that are no longer used when ChartModifierBase.OnDetached() is called!

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.