You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In latest update 2.0.0-rc6 we can now use Xaml to set much of the chart components.
In examples there are a few instances of setting the chart title with fixed values.
Firstly, the title is a XamlDrawnLabelVisual not text.
Also, the color (Paint) in this is defined using a SolidColorPaint.
The Color of the SolidColorPaint is not compatible with the colors in Avalonia.
In fact, it seems to be a text property!?
So how do I change this color to follow dynamically the Avalonia theme (e.g. Fluent Light/Dark change)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In latest update 2.0.0-rc6 we can now use Xaml to set much of the chart components.
In examples there are a few instances of setting the chart title with fixed values.
Firstly, the title is a XamlDrawnLabelVisual not text.
Also, the color (Paint) in this is defined using a SolidColorPaint.
The Color of the SolidColorPaint is not compatible with the colors in Avalonia.
In fact, it seems to be a text property!?
So how do I change this color to follow dynamically the Avalonia theme (e.g. Fluent Light/Dark change)?
Beta Was this translation helpful? Give feedback.
All reactions