Search found 1603 matches

by Christopher
Mon Oct 27, 2014 9:16 am
Forum: .NET
Topic: positioning of CustomAxes in TChart
Replies: 5
Views: 9312

Re: positioning of CustomAxes in TChart

Hello, Further below I have tried to translate the code "PlaceAxes" from Delphi to .NET - I was given this code from Narcis wrt. Delphi and placing axes. I have not been able to translate and the debugger gives many errors - I need you help to translate this code in order for me to solve the problem...
by Christopher
Thu Oct 23, 2014 8:52 am
Forum: .NET
Topic: positioning of CustomAxes in TChart
Replies: 5
Views: 9312

Re: positioning of CustomAxes in TChart

Hello,
Friis wrote: Should a similar code be used for .NET?
Yes, I think so.
by Christopher
Thu Oct 23, 2014 8:45 am
Forum: .NET
Topic: Getting max and min values from TGantt Chart
Replies: 1
Views: 3543

Re: Getting max and min values from TGantt Chart

Hello! Try: private void InitializeChart() { Steema.TeeChart.Styles.Gantt Ganttseries = new Steema.TeeChart.Styles.Gantt(tChart1.Chart); this.tChart1.Series.Add(Ganttseries); Ganttseries.FillSampleValues(); double startMin = Ganttseries.StartValues.Minimum; double startMax = Ganttseries.StartValues....
by Christopher
Thu Oct 23, 2014 8:36 am
Forum: .NET
Topic: custom axes items
Replies: 1
Views: 3816

Re: custom axes items

Hello, With TeeChart.VCL you can do: procedure TForm1.InitializeChart; var axis : TChartAxis; begin Series1:=TLineSeries.Create(Self); Series1.ParentChart:=Chart1; Series1.FillSampleValues(); axis:=Chart1.CustomAxes.Add; axis.Horizontal:=true; Series1.HorizAxis := aCustomHorizAxis; Series1.CustomHor...
by Christopher
Tue Oct 07, 2014 7:56 am
Forum: .NET
Topic: Zoom Out after programmatically setting axis bounds
Replies: 1
Views: 4186

Re: Zoom Out after programmatically setting axis bounds

Question: How can I programmatically "zoom in" (set x-axes bounds) and still be able to zoom out again using the mouse? Sorry for the slight delay in this reply. You can try something like this: private void InitializeChart() { tChart1.Aspect.View3D = false; tChart1.Series.Add(typeof(Line)).FillSam...
by Christopher
Fri Sep 26, 2014 12:27 pm
Forum: .NET
Topic: Two Bottoms Axes
Replies: 3
Views: 6461

Re: Two Bottoms Axes

YingHui wrote:Attachment is my form1.cs and form1.designer.cs of my demo project.
I can't see these attachments in your post - could you please put them in a *.zip file and post them again?
by Christopher
Thu Sep 25, 2014 2:16 pm
Forum: .NET
Topic: New Version Changes
Replies: 1
Views: 4396

Re: New Version Changes

Any idea what has changed? I am having difficulty finding the problems, as they are complicated programs designed over a number of years and have been working fine up until now. Would you be so kind so create a short, self contained, correct example indicating to me how the behaviour has changed? O...
by Christopher
Thu Sep 25, 2014 2:14 pm
Forum: .NET
Topic: How detect when series checkbox is selected in the legend?
Replies: 2
Views: 7695

Re: How detect when series checkbox is selected in the legend?

Hello! You could try something like this: private void InitializeChart() { tChart1.Aspect.View3D = false; for (int i = 0; i < 5; i++) { tChart1.Series.Add(typeof(Bar)).FillSampleValues(); } tChart1.Legend.CheckBoxes = true; } private void button1_Click(object sender, EventArgs e) { int[] states = Ch...
by Christopher
Thu Sep 25, 2014 8:01 am
Forum: .NET
Topic: How to make legend symbol use the area's color
Replies: 2
Views: 5244

Re: How to make legend symbol use the area's color

Hello Ying-Hui, I use the area to draw severl bar with different color each and I would like to make the color of symbol on the legend to be same with that related bar. However I only find the border of the symbol border is same with each bar, would you please let me know how I can fill the symbo wi...
by Christopher
Mon Sep 22, 2014 8:34 am
Forum: .NET
Topic: copy pdf formatted image to the Clipboard
Replies: 3
Views: 8096

Re: copy pdf formatted image to the Clipboard

Hello, I'm not sure,so I want to know what the function about this method? By other words, this method can't used for the pdf format? Thanks! No, as you have seen, the CopyToClipboard() method of the PDF export class does not work as expected. This method will be deprecated in future versions of TC...
by Christopher
Mon Sep 22, 2014 8:32 am
Forum: .NET
Topic: Problem in Moving point series in logarithmic AXIS
Replies: 14
Views: 22645

Re: Problem in Moving point series in logarithmic AXIS

Many thanks for your reply as you told that logarithimic axes are problematic, i agree with your point. But please do needfull or provide any alternative solution for the same. Because we have to achieve this functionality in my application by any mean. I'm afraid to say that being able to drag an ...
by Christopher
Fri Sep 19, 2014 8:58 am
Forum: .NET
Topic: copy pdf formatted image to the Clipboard
Replies: 3
Views: 8096

Re: copy pdf formatted image to the Clipboard

Hello, I use the following code to save the chart to the Clipboard with pdf format, and when I paste it in a document ,it will be messy code, not a image. What should I do?Thanks! Code: tChart1.Export.Image.PDF.CopyToClipboard(); I'm not sure if it is possible to copy the contents (text, images etc...
by Christopher
Fri Sep 19, 2014 8:42 am
Forum: .NET
Topic: Chart Paging can't used in the smoothed Line series
Replies: 1
Views: 5204

Re: Chart Paging can't used in the smoothed Line series

Hello, I add 100 points in the Line Series ,and set the Page.MaxPointsPerPage is 10, So the page count will be 10, but when I set the "Smoothed" property of Line Series to true,The total page count will be 81. Is this a bug in TeeChart? Yes, this is a bug and has been added to our database as id=92...
by Christopher
Wed Sep 17, 2014 8:48 am
Forum: .NET
Topic: Teechart lead to vs.net restart
Replies: 3
Views: 6033

Re: Teechart lead to vs.net restart

YingHui wrote: Yes, I am using the .Net Framework 4.
Not sure if it relates with the configuration with my project and vs.net.
I'm not sure either. As you can see, I'm using the same TeeChart.dll as you are in the same version of Visual Studio and with the same version of the .NET Framework.
by Christopher
Wed Sep 17, 2014 7:55 am
Forum: .NET
Topic: Teechart lead to vs.net restart
Replies: 3
Views: 6033

Re: Teechart lead to vs.net restart

Hello: I integrated the lateste Teechart.dll with version 4.1.2014.8122 into my project( VS.net 2010), when trying to build the solution, if the form holding the teechart control is open, it will lead to vs.net to restart. When close that form file, everything goes well. Could you help me out it? T...