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
{{ message }}
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
The text was updated successfully, but these errors were encountered:
Yura-alt
changed the title
Axisaction when deleting a section (dataLabel = true), the label on the axis remains
AxisSection when deleting a section (dataLabel = true), the label on the axis remains
Nov 6, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to figure out why I still have a label when deleting a section. I tried updating the schedule, but the problem remains.
public int AddSection(double fValueCrurrent, Brush stroke)
{
AxisSection newSection = new AxisSection();
newSection.Value = fValueCrurrent;
newSection.Stroke = stroke;
newSection.StrokeThickness = 1;
newSection.DisableAnimations = true;
newSection.DataLabel = true;
newSection.DataLabelForeground = Brushes.White;
int resIndex = CVM.Axissection.Count();
CVM.Axissection.Add(newSection);
CVM.ChartVM.Update();
return resIndex;
}
public void RemoveSection(int i)
{
if (i >= CVM.Axissection.Count)
return;
CVM.Axissection.RemoveAt(i);
CVM.ChartVM.Update();
}
The text was updated successfully, but these errors were encountered: