How can I add the red bordered Textbox to my CustomChartmodifier. (Like Example:
http://support.scichart.com/index.php?/Knowledgebase/Article/View/17235/32/custom-chartmodifiers—part-1—creating-a-custom-rollover-modifier
- Daniel Hartl asked 9 years ago
- last edited 9 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 9 years ago
- last edited 9 years ago
- You must login to post comments
Please login first to submit.