We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
like sample set all chartitem.value = 0 , app will crash ObservableCollection _chartCollection = new ObservableCollection() { {new ChartItem(){ Value= 0, Label = "a"}}, {new ChartItem(){ Value= 0, Label = "b"} }, {new ChartItem(){ Value= 0, Label = "c"} }, {new ChartItem(){ Value= 0, Label = "d"} }, {new ChartItem(){ Value= 0, Label = "e"} } };
The text was updated successfully, but these errors were encountered:
Ok I had modified it.
protected virtual void DrawHorizontalStepLines
int maxEntryIndex = points.ToList().IndexOf(maxPoint);
if(maxEntryIndex == -1) maxEntryIndex = 0; thist line is added
var maxEntry = Entries.ElementAt(maxEntryIndex).Value;
Sorry, something went wrong.
No branches or pull requests
like sample set all chartitem.value = 0 , app will crash
ObservableCollection _chartCollection = new ObservableCollection()
{
{new ChartItem(){ Value= 0, Label = "a"}},
{new ChartItem(){ Value= 0, Label = "b"} },
{new ChartItem(){ Value= 0, Label = "c"} },
{new ChartItem(){ Value= 0, Label = "d"} },
{new ChartItem(){ Value= 0, Label = "e"} }
};
The text was updated successfully, but these errors were encountered: