❔ Why "Chart" is not available ?
Hi, as you can see on my screens, the "Chart" are not available, i can't drag them directly on my Form, but i can add a Chart manually, why ?
58 Replies
Is your application running?
yes
but it's not very practical because i want to place 4 of them in precise places, i was wondering if it was possible to drag them instead like other elements
You possibly can't add them to a form while your application is running?
ahhh is my application running while i try to drag them ? no xd sorry i didn't understand it that way
Application running == F5 debugging
so no it's not running
i can drag other elements like label, button or anything but not this
If you add a new blank form then can you drag it on?
I wonder if chart needs a container of some sort?
no i still can't
like a panel ?
What version of .net are you using?
.NET 6.0
Something like that possibly, but I doubt that is the problem
yeah i tried but it changed nothing
Are you certain this is winforms tool and not webforms tool?
You seem like you can't add anything
Everything looks disabled in the image
it's because i selected "show everything" it shows even what i can't drag but i can drag things
i selected this for the project
look the rest is fine
switching to my PC; I'll try locally
okay thanks
hmmm I don't have chart at all, is that from a separate control suite?
yeah i added System.Windows.Forms.DataVisualization
in NuGet packages
hmmm still no chart
maybe rebuild the project ?
nothing, it's also a bit concerning that you have two chart controls
i agree, i don't really know why either and i don't really understand why it is so difficult just to make a chart honestly :x
i tried LiveChart too but it didn't work at all, at least with that i can have something so i think i'll keep going on with it
I'm finding some ugliness that hints that this isn't available in .net/core but only framework
maybe, but this is the only way i found after hours of research honestly
thought it'd be less difficult to make a chart
but this is .net framework
i have this with some tests
honestly the result doesn't seem bad, but i was just wondering if they were a better way
I can't answer that
np
I haven't used data viz in winforms ever 😦
Have you made a chart with an other way ?
usually web
ah okay
wpf
Thanks for you help, i think i'll keep going on like that even if it's not that practical for the moment it'll do the job
Practicality always wins
There may be some "free" control suites out there too
wdym by that ?
There are control vendors, like telerik ( example not a recommendation ) that cover a lot of gaps in winforms controls
oh okay, that may help i'll look into it
Syncfusion
WinForms Chart Control | Blazing Fast Graph | Syncfusion
WinForms Chart (WinForms Graph) library can plot more than 45 chart types such as line, pie, area, bar, etc. It supports zooming and scrolling interactions.
But not free either 😦
yes i imagine
https://gunaui.com/pricing/
I've heard gunaui is okay, but not sure
i'll try to find out something
thanks for that
I wish I had better answers for you
there is no problem, i searched for alternative, not necesseraly something perfect
I'm still not certain why you have two chart icons ( this can happen with different versions iirc )
one of them is useless, it's not for windowsform i think
Ah yeah, that's why I was asking about the web
i must have installed it while trying to install the right one
That was my first instinct because the toolbox can get pretty mixed up
I just managed to find a nice package for .net 6.0, ScottPlot.WinForms, looks pretty simple and efficient
and access to the drag so perfect
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.