C
C#14mo ago
Warren

❔ 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
Mayor McCheese
Mayor McCheese14mo ago
Is your application running?
Warren
Warren14mo ago
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
Mayor McCheese
Mayor McCheese14mo ago
You possibly can't add them to a form while your application is running?
Warren
Warren14mo ago
ahhh is my application running while i try to drag them ? no xd sorry i didn't understand it that way
Mayor McCheese
Mayor McCheese14mo ago
Application running == F5 debugging
Warren
Warren14mo ago
so no it's not running i can drag other elements like label, button or anything but not this
Mayor McCheese
Mayor McCheese14mo ago
If you add a new blank form then can you drag it on? I wonder if chart needs a container of some sort?
Warren
Warren14mo ago
no i still can't like a panel ?
Mayor McCheese
Mayor McCheese14mo ago
What version of .net are you using?
Warren
Warren14mo ago
.NET 6.0
Mayor McCheese
Mayor McCheese14mo ago
Something like that possibly, but I doubt that is the problem
Warren
Warren14mo ago
yeah i tried but it changed nothing
Mayor McCheese
Mayor McCheese14mo ago
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
Warren
Warren14mo ago
it's because i selected "show everything" it shows even what i can't drag but i can drag things
Warren
Warren14mo ago
i selected this for the project
Warren
Warren14mo ago
look the rest is fine
Mayor McCheese
Mayor McCheese14mo ago
switching to my PC; I'll try locally
Warren
Warren14mo ago
okay thanks
Mayor McCheese
Mayor McCheese14mo ago
hmmm I don't have chart at all, is that from a separate control suite?
Warren
Warren14mo ago
yeah i added System.Windows.Forms.DataVisualization in NuGet packages
Mayor McCheese
Mayor McCheese14mo ago
hmmm still no chart
Warren
Warren14mo ago
maybe rebuild the project ?
Mayor McCheese
Mayor McCheese14mo ago
nothing, it's also a bit concerning that you have two chart controls
Warren
Warren14mo ago
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
Mayor McCheese
Mayor McCheese14mo ago
I'm finding some ugliness that hints that this isn't available in .net/core but only framework
Warren
Warren14mo ago
maybe, but this is the only way i found after hours of research honestly thought it'd be less difficult to make a chart
Mayor McCheese
Mayor McCheese14mo ago
Mayor McCheese
Mayor McCheese14mo ago
but this is .net framework
Warren
Warren14mo ago
i have this with some tests
Warren
Warren14mo ago
Warren
Warren14mo ago
honestly the result doesn't seem bad, but i was just wondering if they were a better way
Mayor McCheese
Mayor McCheese14mo ago
I can't answer that
Warren
Warren14mo ago
np
Mayor McCheese
Mayor McCheese14mo ago
I haven't used data viz in winforms ever 😦
Warren
Warren14mo ago
Have you made a chart with an other way ?
Mayor McCheese
Mayor McCheese14mo ago
usually web
Warren
Warren14mo ago
ah okay
Mayor McCheese
Mayor McCheese14mo ago
wpf
Warren
Warren14mo ago
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
Mayor McCheese
Mayor McCheese14mo ago
Practicality always wins There may be some "free" control suites out there too
Warren
Warren14mo ago
wdym by that ?
Mayor McCheese
Mayor McCheese14mo ago
There are control vendors, like telerik ( example not a recommendation ) that cover a lot of gaps in winforms controls
Warren
Warren14mo ago
oh okay, that may help i'll look into it
Mayor McCheese
Mayor McCheese14mo ago
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.
Mayor McCheese
Mayor McCheese14mo ago
But not free either 😦
Warren
Warren14mo ago
yes i imagine
Mayor McCheese
Mayor McCheese14mo ago
https://gunaui.com/pricing/ I've heard gunaui is okay, but not sure
Warren
Warren14mo ago
i'll try to find out something thanks for that
Mayor McCheese
Mayor McCheese14mo ago
I wish I had better answers for you
Warren
Warren14mo ago
there is no problem, i searched for alternative, not necesseraly something perfect
Mayor McCheese
Mayor McCheese14mo ago
I'm still not certain why you have two chart icons ( this can happen with different versions iirc )
Warren
Warren14mo ago
one of them is useless, it's not for windowsform i think
Mayor McCheese
Mayor McCheese14mo ago
Ah yeah, that's why I was asking about the web
Warren
Warren14mo ago
i must have installed it while trying to install the right one
Mayor McCheese
Mayor McCheese14mo ago
That was my first instinct because the toolbox can get pretty mixed up
Warren
Warren14mo ago
I just managed to find a nice package for .net 6.0, ScottPlot.WinForms, looks pretty simple and efficient
Warren
Warren14mo ago
and access to the drag so perfect
Accord
Accord14mo ago
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.
Want results from more Discord servers?
Add your server
More Posts
❔ Looking for C#/Unity devs for short interviewsHey! Do you want to help me design a game? 🎮 For my Bachelor thesis I am developing a game to visua❔ Gleaning process launch information from Process reference attained via GetProcessById?Given a process ID I would like to determine all parameters necessary to relaunch that process (same❔ Binding question for winforms DataGridViewAll the examples I can find show how to bind to a row object that has fixed properties such as: row❔ Meta Marketing API unnecessary Stephttps://developers.facebook.com/community/threads/602165615210717/?post_id=602165618544050 I define❔ Random Empty Column is shown in the DataGridHi I have a datagrid in WPF and for some reason I always have this empty column. Is there a way of d❔ api doesn't return anything.https://github.com/emt2dev/MandalorianAPI .net 6 ```cs using MandalorianAPI.Models; using Mandaloria✅ How To Return 2 numbers inside of an If/Else statement```cs using System; using System.Threading; namespace MeksMathGame { class Program { ❔ Question regarding custom validation in Identity.Do you have any idea how to fix this?. When the custom validation in identity triggers all of sele❔ Removing a certain block that pops up when minimizing a borderless formHello. I need a little help about a program I made. So, whenever a fullscreen form minimizes, an blo❔ Launch in integrated terminal, but in VSI've been using Visual Studio for a week now, and i noticed that each time i run my project, it open