© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
6 replies
Heartbeat1

✅ Done! Chartjs has one wrong entry and i dont know why

In the Picture are shown the entry from the value and the chart(both in green).

setting the decimal list
foreach (var data in Model.market_average_History)
    {
        averagesell[i] = data.averagesellPrice;
        averagebuy[i] = data.averagebuyPrice;
        ActDate[i] = data.Actdate;
        maxsell[i] = data.maxsellPrice;
        maxbuy[i] = data.maxbuyPrice;
        minsell[i] = data.minsellPrice;
        minbuy[i] = data.minbuyPrice;
        i = i + 1;
    }
foreach (var data in Model.market_average_History)
    {
        averagesell[i] = data.averagesellPrice;
        averagebuy[i] = data.averagebuyPrice;
        ActDate[i] = data.Actdate;
        maxsell[i] = data.maxsellPrice;
        maxbuy[i] = data.maxbuyPrice;
        minsell[i] = data.minsellPrice;
        minbuy[i] = data.minbuyPrice;
        i = i + 1;
    }
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

I dont know what is wrong
C#CC# / help
4w ago
✅ I dont know what im doing wrong?!
C#CC# / help
3y ago
I never reach the return, and i dont know why?
C#CC# / help
3y ago
My functions wont work and i dont know what i am doing wrong
C#CC# / help
3y ago