SeriesMarkerFont vs AnnotationFont difference?

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

SeriesMarkerFont vs AnnotationFont difference?

Post by greggorob64 » Wed May 18, 2016 12:55 pm

Hello, I have a few bits of text, all using the exact same font:

Code: Select all

      public static Font TooltipFontDefaultValue = new Font(
         new FontFamily("Arial"), 
         10.25f, 
         FontStyle.Italic);
My series event markers look nice:
Image

So do my Y Axis labels:
Image

My annotations don't look nearly as nice:
Image

It looks like its missing antialiasing or something, what can I do to make this text look better?

Thanks!

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: SeriesMarkerFont vs AnnotationFont difference?

Post by ArctionPasi » Wed May 18, 2016 6:58 pm

Hi,

I can't see much difference in them in these pictures.

If you set chart.RenderOptions.FontsQuality = High, does it improve?
LightningChart Support Team, PT

greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

Re: SeriesMarkerFont vs AnnotationFont difference?

Post by greggorob64 » Thu May 19, 2016 1:10 pm

Two things:

1) I did a few experiments and did some zoomed in examining; and it's much choppier when using annotations VS seriesmarkertitles and chart titles. It really seems like its rendered much differently (and not as nicely)

2) The text looks WAY better when fontrender options is set to high. I'm very happy with it with this setting.

Is using this increased rendering settings any concern for performance?

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: SeriesMarkerFont vs AnnotationFont difference?

Post by ArctionPasi » Thu May 19, 2016 7:37 pm

By using FontsQuality = High will have a performance hit for sure, that's why it's not a default selection. Please expirement if performance hit is acceptable.
LightningChart Support Team, PT

greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

Re: SeriesMarkerFont vs AnnotationFont difference?

Post by greggorob64 » Thu May 19, 2016 8:46 pm

I havent noticed any impact as of yet. However, I havent been doing any active scrolling or adding data that would make the labels update a lot.

Post Reply