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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

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.