Search found 41 matches

by coldwind
Fri Nov 10, 2023 5:22 am
Forum: .NET
Topic: how to show the merged X axes?
Replies: 10
Views: 7116

Re: how to show the merged X axes?

Ok, thank you for help. When i use the margin, i faced the new problem. The normal image is : normal.png if the x label is long ,then i set the angle to 90 caues the result 覆盖.png i use the code: tChart1.Axes.Bottom.Position + symbolBase to calc the custom symbol y position. The x label is dynamical...
by coldwind
Thu Nov 09, 2023 9:25 am
Forum: .NET
Topic: how to show the merged X axes?
Replies: 10
Views: 7116

Re: how to show the merged X axes?

OK,I have draw the sample line. But i have the next trouble is how to resize the chart canvas that can leave the space to draw my custom symbol. Snipaste_2023-11-09_17-09-55.png I want to stretch vertical direction, and the chart Bottom can't change. like the red rectangle. thus i have the spce to s...
by coldwind
Wed Nov 08, 2023 3:34 pm
Forum: .NET
Topic: how to show the merged X axes?
Replies: 10
Views: 7116

Re: how to show the merged X axes?

Thank you for help. It's close to what I want. I want to custom the same year symbol, like the Snipaste_2023-11-08_23-18-37.png or Snipaste_2023-11-08_00-06-27.png . Then I have try to use custom Drawing url,but failed. how to draw the specified symbol above the year value Could you help me please! ...
by coldwind
Tue Nov 07, 2023 4:07 pm
Forum: .NET
Topic: how to show the merged X axes?
Replies: 10
Views: 7116

Re: how to show the merged X axes?

Hi My trouble is how to set the X label, but point order. I can add the index to dataset . I hope the point x label can show 2021, A 2021, B but, the A,B maybe is long,then I hope samplify the x label, with merge same label, like A,B,C,D with 2021 year. then I can show one time with subplot .the cha...
by coldwind
Mon Nov 06, 2023 4:11 pm
Forum: .NET
Topic: how to show the merged X axes?
Replies: 10
Views: 7116

how to show the merged X axes?

I hope to use the dataset with: [ {year: 2021, wid: 'A',total: 10}, {year: 2021, wid: 'B',total: 20}, {year: 2021, wid: 'C',total: 20}, {year: 2021, wid: 'D',total: 20}, {year: 2022, wid: 'E',total: 10}, {year: 2022, wid: 'F',total: 10}, {year: 2022, wid: 'A',total: 20}, {year: 2023, wid: 'S',total:...
by coldwind
Fri Sep 15, 2023 1:24 am
Forum: .NET
Topic: Some questions about AxisScroll
Replies: 2
Views: 10730

Re: Some questions about AxisScroll

Did you not see this problem? Can you reply as soon as possible?
by coldwind
Wed Sep 06, 2023 9:24 am
Forum: .NET
Topic: How to draw four graphs and share an X-axis, and other related issues?
Replies: 8
Views: 31499

Re: How to draw four graphs and share an X-axis, and other related issues?

List<int> yLabelLen = new List<int> { avgChart.Axes.Left.MaxLabelsWidth(), stddevChart.Axes.Left.MaxLabelsWidth(), rangeChart.Axes.Left.MaxLabelsWidth(), rawDataChart.Axes.Left.MaxLabelsWidth() }; int yLabelLenMax = yLabelLen.Max(); avgChart.Axes.Left.Labels.CustomSize = yLabelLenMax; stddevChart.A...
by coldwind
Wed Sep 06, 2023 9:13 am
Forum: .NET
Topic: Some questions about AxisScroll
Replies: 2
Views: 10730

Some questions about AxisScroll

If the series is this vertical, I want the current page to show only thirty series, and then the more series can be viewed by scrolling the X-axis (can you use the AxisScroll Tool? But this seems to work on the point.)
Chart.png
Chart.png (32.1 KiB) Viewed 10730 times
by coldwind
Sat Sep 02, 2023 7:22 am
Forum: .NET
Topic: How to draw four graphs and share an X-axis, and other related issues?
Replies: 8
Views: 31499

Re: How to draw four graphs and share an X-axis, and other related issues?

Hello, Question1:How do I find the maximum distance to the left of four graphs and set this maximum distance for all graphs. Or is there a better way to do this, so that if y is not aligned, the points on the top and bottom graph are not aligned A similar question is answered here . Question2:The X...
by coldwind
Sat Sep 02, 2023 6:07 am
Forum: .NET
Topic: How to draw four graphs and share an X-axis, and other related issues?
Replies: 8
Views: 31499

Re: How to draw four graphs and share an X-axis, and other related issues?

According to your suggestion, I have wrapped the X-axis label before adding the icon, but the label did not automatically separate and overlapped, as shown in the figure below label overlap.png The present situation is still not like the hand-drawn picture. When the width of the label newline become...
by coldwind
Thu Aug 31, 2023 12:33 pm
Forum: .NET
Topic: How to draw four graphs and share an X-axis, and other related issues?
Replies: 8
Views: 31499

Re: How to draw four graphs and share an X-axis, and other related issues?

I want the label to wrap after 15 characters, but because the label is so long, it may need to wrap more than once. Therefore, it is also hoped that the spacing between points will increase synchronously according to the current number of newlines. The label spacing on the top of the hand-drawn sket...
by coldwind
Thu Aug 31, 2023 5:38 am
Forum: .NET
Topic: How to draw four graphs and share an X-axis, and other related issues?
Replies: 8
Views: 31499

How to draw four graphs and share an X-axis, and other related issues?

Question1:How do I find the maximum distance to the left of four graphs and set this maximum distance for all graphs. Or is there a better way to do this, so that if y is not aligned, the points on the top and bottom graph are not aligned four chart.png Question2:The X-axis label in the last figure ...
by coldwind
Wed Aug 30, 2023 2:20 am
Forum: .NET
Topic: How to set the X with category data?
Replies: 19
Views: 26707

Re: How to set the X with category data?

Hope to reply as soon as possible, thank you
by coldwind
Tue Aug 29, 2023 7:05 am
Forum: .NET
Topic: How to set the X with category data?
Replies: 19
Views: 26707

Re: How to set the X with category data?

The X-axis names of the first five points in the red box are the same, I hope that each point can correspond to its own X-axis label, and then each point should have vertical lines, such as the gray line I hand-painted in the red box (it should be tchart.Axes.Bottom.Grid), I expect that each point h...
by coldwind
Mon Aug 28, 2023 12:07 pm
Forum: .NET
Topic: How to set the X with category data?
Replies: 19
Views: 26707

Re: How to set the X with category data?

Question1:How do I find the maximum distance to the left of four graphs and set this maximum distance for all graphs four chart.png Question2:The X-axis label in the last figure is too long. I hope it can be displayed as a line wrap if it is too long, and the spacing between X-axis points and points...