SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
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!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
I hope you can help me I have managed to change the font color, size, but I do not know how to put the annotation with underlined font, who could give me a clue please. I would like to get something like what is shown in the image I attached. Thanks in advance.
Have you tried to change tick label and title style for axis. You can specify custom Typeface when you create font style and then just assign it for axis. Also you can apply the same style for TextAnnotation. Here is a code sample:
Typeface typeface = Typeface.createFromFile(<path to font>); final FontStyle style = new FontStyle(typeface, 20, Color.BLACK); final IAxis axis = new NumericAxis(getActivity()); axis.setTitleStyle(style); axis.setTickLabelStyle(style); TextAnnotation annotation = new TextAnnotation(getActivity()); annotation.setFontStyle(style);
Is this suitable for your needs?
Please login first to submit.