Search found 41 matches

by coldwind
Wed Feb 15, 2023 2:44 am
Forum: .NET
Topic: dynamic property class for mutilple series
Replies: 15
Views: 17746

Re: dynamic property class for mutilple series

Hello: The student class is not suitable.Then how do i add xValues to the line,when i use age.Add(xValues,yValues), I receive NullRefrenceException. I guess the xValues is must number array, but I need use string data to XValues,like name,subject,category.. var height_data = data.SelectMany(x => x.E...
by coldwind
Tue Feb 14, 2023 1:23 pm
Forum: .NET
Topic: dynamic property class for mutilple series
Replies: 15
Views: 17746

Re: dynamic property class for mutilple series

Hello: I need to show chart with the specificed column. before post the http request, i will appoint the column name,then i will receive the data with the specificed column. eg. request data is ["name","age"], response data is [{name:"Lily",age:10},{name:"Jack",age:11}...] eg. request data is ["subj...
by coldwind
Tue Feb 14, 2023 10:40 am
Forum: .NET
Topic: dynamic property class for mutilple series
Replies: 15
Views: 17746

Re: dynamic property class for mutilple series

Hello:

The key problem I don't know the structure of the Json file,so i want to use the Dictionary.
by coldwind
Tue Feb 14, 2023 9:58 am
Forum: .NET
Topic: dynamic property class for mutilple series
Replies: 15
Views: 17746

Re: dynamic property class for mutilple series

Hello:
The problem I faced is the Class is unknown, so I want to use the class with Dictionary , but it does't work.
by coldwind
Thu Feb 09, 2023 10:31 am
Forum: .NET
Topic: dynamic property class for mutilple series
Replies: 15
Views: 17746

dynamic property class for mutilple series

Hello: I want to show the multiple line with user select different property. Now I has the data like Snipaste_2023-02-09_18-26-47.png I can't define the data Model with Class, because the property is dynamic. How do i need to use the class, to show chart with multiple Line. the code is which i want ...
by coldwind
Tue Feb 07, 2023 1:31 am
Forum: .NET
Topic: Line Chart rendering
Replies: 3
Views: 6324

Re: Line Chart rendering

Hello, I've got a question, That's how to realization the Million-level line chat drawing, capable of rendering points as specified marks, such as dots, small squares, etc I'm afraid I don't understand your requirement here—could you please be more specific? Please be aware that we have a large, si...
by coldwind
Fri Feb 03, 2023 8:43 am
Forum: .NET
Topic: Realize custome line
Replies: 1
Views: 5068

Realize custome line

hello:
I got a question, That's how to realize custome line ?
Just like the color line in demo, but i need to add the custome label above the end of the line and make the solid line to be dotted line
by coldwind
Fri Feb 03, 2023 3:20 am
Forum: .NET
Topic: Line Chart rendering
Replies: 3
Views: 6324

Line Chart rendering

Hello:
I've got a question, That's how to realization the Million-level line chat drawing, capable of rendering points as specified marks, such as dots, small squares, etc
by coldwind
Thu Jan 19, 2023 6:30 am
Forum: .NET
Topic: Add function use?
Replies: 3
Views: 6307

Re: Add function use?

Think you.
But i hope the Mark can custom.
e.g. set the format is

Code: Select all

$"{Name} is {Age}"
so the chart show like :
微信图片_20230119141525.png
微信图片_20230119141525.png (24.94 KiB) Viewed 6261 times

And I hope the mouse hover the Specified bar ,then the Mark will show like above.When the mouse leave the Specified bar ,the Mark will hide.
by coldwind
Tue Jan 17, 2023 4:51 am
Forum: .NET
Topic: Add function use?
Replies: 3
Views: 6307

Add function use?

hello: i can see these code in InitializeComponent function which is generate automaticlly. this.bar1.XValues.DataMember = "X"; this.bar1.YValues.DataMember = "Bar"; i want to use code : Add(new {X=1,Bar=10.22}); Add(new {X=2,Bar=15.65}); to show chart .but it's nothing. class Student { string name;...
by coldwind
Fri Jan 06, 2023 6:21 am
Forum: .NET
Topic: NET 6 or NET framework which one i need choose
Replies: 1
Views: 4506

NET 6 or NET framework which one i need choose

hello: I can't find the differences in NET6 and NET framework . when i run the NET 6 Demo,I can find most example which can‘t find in NET framework Demo. Is those can't reach in Net framework? So i can't know how I need create the winform project with NET 6 or NET framework.I want to know what is th...