Search
Get Started
C
C#
•
3y 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
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Was this page helpful?
Yes
No
M
Mayor McCheese
•
5/26/23, 1:40 PM
Is your application running
?
W
Warren
OP
•
5/26/23, 1:40 PM
yes
W
Warren
OP
•
5/26/23, 1:41 PM
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
M
Mayor McCheese
•
5/26/23, 1:42 PM
You possibly can
't add them to a form while your application is running
?
W
Warren
OP
•
5/26/23, 1:43 PM
ahhh is my application running while i try to drag them
? no xd sorry i didn
't understand it that way
M
Mayor McCheese
•
5/26/23, 1:44 PM
Application running
=
= F5 debugging
W
Warren
OP
•
5/26/23, 1:44 PM
so no it
's not running
W
Warren
OP
•
5/26/23, 1:44 PM
i can drag other elements like label
, button or anything but not this
M
Mayor McCheese
•
5/26/23, 1:45 PM
If you add a new blank form then can you drag it on
?
M
Mayor McCheese
•
5/26/23, 1:45 PM
I wonder if chart needs a container of some sort
?
W
Warren
OP
•
5/26/23, 1:45 PM
no i still can
't
W
Warren
OP
•
5/26/23, 1:46 PM
like a panel
?
M
Mayor McCheese
•
5/26/23, 1:47 PM
What version of
.net are you using
?
W
Warren
OP
•
5/26/23, 1:47 PM
.NET 6
.0
W
Warren
like a panel ?
M
Mayor McCheese
•
5/26/23, 1:49 PM
Something like that possibly
, but I doubt that is the problem
W
Warren
OP
•
5/26/23, 1:49 PM
yeah i tried but it changed nothing
M
Mayor McCheese
•
5/26/23, 1:49 PM
Are you certain this is winforms tool and not webforms tool
?
M
Mayor McCheese
•
5/26/23, 1:50 PM
You seem like you can
't add anything
M
Mayor McCheese
•
5/26/23, 1:50 PM
Everything looks disabled in the image
W
Warren
OP
•
5/26/23, 1:50 PM
it
's because i selected
"show everything
" it shows even what i can
't drag but i can drag things
W
Warren
OP
•
5/26/23, 1:50 PM
i selected this for the project
W
Warren
OP
•
5/26/23, 1:51 PM
look the rest is fine
M
Mayor McCheese
•
5/26/23, 1:55 PM
switching to my PC
; I
'll try locally
W
Warren
OP
•
5/26/23, 1:56 PM
okay thanks
M
Mayor McCheese
•
5/26/23, 1:58 PM
hmmm I don
't have chart at all
, is that from a separate control suite
?
W
Warren
OP
•
5/26/23, 1:58 PM
yeah i added System
.Windows
.Forms
.DataVisualization
W
Warren
OP
•
5/26/23, 1:59 PM
in NuGet packages
M
Mayor McCheese
•
5/26/23, 2:00 PM
hmmm still no chart
W
Warren
OP
•
5/26/23, 2:01 PM
maybe rebuild the project
?
M
Mayor McCheese
•
5/26/23, 2:03 PM
nothing
, it
's also a bit concerning that you have two chart controls
W
Warren
OP
•
5/26/23, 2:03 PM
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
W
Warren
OP
•
5/26/23, 2:04 PM
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
M
Mayor McCheese
•
5/26/23, 2:05 PM
I
'm finding some ugliness that hints that this isn
't available in
.net
/core but only framework
W
Warren
OP
•
5/26/23, 2:06 PM
maybe
, but this is the only way i found after hours of research honestly
W
Warren
OP
•
5/26/23, 2:07 PM
thought it
'd be less difficult to make a chart
M
Mayor McCheese
•
5/26/23, 2:08 PM
M
Mayor McCheese
•
5/26/23, 2:08 PM
but this is
.net framework
W
Warren
OP
•
5/26/23, 2:09 PM
i have this with some tests
W
Warren
OP
•
5/26/23, 2:09 PM
W
Warren
OP
•
5/26/23, 2:09 PM
honestly the result doesn
't seem bad
, but i was just wondering if they were a better way
M
Mayor McCheese
•
5/26/23, 2:10 PM
I can
't answer that
W
Warren
OP
•
5/26/23, 2:10 PM
np
M
Mayor McCheese
•
5/26/23, 2:10 PM
I haven
't used data viz in winforms ever
W
Warren
OP
•
5/26/23, 2:11 PM
Have you made a chart with an other way
?
M
Mayor McCheese
•
5/26/23, 2:12 PM
usually web
W
Warren
OP
•
5/26/23, 2:12 PM
ah okay
M
Mayor McCheese
•
5/26/23, 2:12 PM
wpf
W
Warren
OP
•
5/26/23, 2:13 PM
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
M
Mayor McCheese
•
5/26/23, 2:15 PM
Practicality always wins
M
Mayor McCheese
•
5/26/23, 2:17 PM
There may be some
"free
" control suites out there too
Next page