Search found 204 matches

by acastro
Wed Aug 20, 2014 10:59 am
Forum: .NET
Topic: ChartListBox event to detect if any item have been moved
Replies: 3
Views: 8022

Re: ChartListBox event to detect if any item have been moved

Thanks. But if I ask in the dragDrop event for the value of the list by example "lista.Items[0].ToString()" I see the item has not been moved yet. Is there any posterior event where the item is moved?

Thanks
by acastro
Tue Aug 19, 2014 10:13 am
Forum: .NET
Topic: ChartListBox event to detect if any item have been moved
Replies: 3
Views: 8022

ChartListBox event to detect if any item have been moved

It is possible to move items draging them in the chartlistbox. Is there any event to detect when it is done?

Thanks
by acastro
Wed Jun 25, 2014 1:56 pm
Forum: .NET
Topic: Scrollpager and zoom
Replies: 7
Views: 13937

Re: Scrollpager and zoom

http://193.145.251.126/pnp/files/ZhRPwi ... chart3.zip

Press button1, and then move the mouse with left button clicked to set the zoom
by acastro
Wed Jun 25, 2014 1:41 pm
Forum: .NET
Topic: Scrollpager and zoom
Replies: 7
Views: 13937

Re: Scrollpager and zoom

If you press button10 and then button1, and try to do zoom the squuare is not well positionated, but if the window is maximized it is well. As a workaround to this, try: private void Form1_Load(object sender, EventArgs e) { tChart1.Aspect.View3D = false; tChart1.Axes.Bottom.Labels.DateTimeFormat = ...
by acastro
Tue Jun 24, 2014 1:56 pm
Forum: .NET
Topic: Pagescroller and zoom
Replies: 1
Views: 4693

Pagescroller and zoom

When I add a page scorller to my chart the legend disappears. And if I try to set it to visible with chart editor, it is not possible.

Project to reproduce
http://193.145.251.126/pnp/files/WNvJwc ... leZoom.zip
Press button 1. And then 4 for trying to set legend visible again...

Thanks
by acastro
Tue Jun 24, 2014 1:21 pm
Forum: .NET
Topic: ScrollPager doesn't respect the margin of customaxis
Replies: 49
Views: 78563

Re: ScrollPager doesn't respect the margin of customaxis

Apparently it runs perfect. It was exactly what I needed.
Thanks
by acastro
Fri Jun 20, 2014 3:32 pm
Forum: .NET
Topic: ScrollPager doesn't respect the margin of customaxis
Replies: 49
Views: 78563

Re: ScrollPager doesn't respect the margin of customaxis

It is related with your code of this post: http://www.teechart.net/support/viewtopic.php?p=65130#p65130 In order to get the width of the labels we do this? double maxVal = chart.Series[current].CustomVertAxis.Maximum; float twidth = chart.Graphics3D.TextWidth(maxVal.ToString(chart.Series[current].Cu...
by acastro
Fri Jun 20, 2014 2:43 pm
Forum: .NET
Topic: ScrollPager doesn't respect the margin of customaxis
Replies: 49
Views: 78563

Re: ScrollPager doesn't respect the margin of customaxis

I think you did't undestand me. When I said " between 0 an 1, I like to see the decimals... if they are between 0 and 90 no." Ok, I think I understood you now. In that case you could add something like the code below at the end of button1_Click method in your project. chart.Draw(); for (int i = 0; ...
by acastro
Fri Jun 20, 2014 1:58 pm
Forum: .NET
Topic: ScrollPager doesn't respect the margin of customaxis
Replies: 49
Views: 78563

Re: ScrollPager doesn't respect the margin of customaxis

I think you did't undestand me. When I said " between 0 an 1, I like to see the decimals... if they are between 0 and 90 no." it was only and example, the same is if its between 4 and five.... This behaviour is what teechart does automatically. The labels are right, the question is how to acces to t...
by acastro
Fri Jun 20, 2014 1:12 pm
Forum: .NET
Topic: ScrollPager doesn't respect the margin of customaxis
Replies: 49
Views: 78563

Re: ScrollPager doesn't respect the margin of customaxis

Hi wakeup, I'm not sure about what you are trying to achieve here. But I cannot change the valueformat because it is interesting to show decimals if the scale is short. Why not? You can force having decimal values changing "#" to "0" as explained in Custom Numeric Format Strings . I can't because i...
by acastro
Fri Jun 20, 2014 10:42 am
Forum: .NET
Topic: ScrollPager doesn't respect the margin of customaxis
Replies: 49
Views: 78563

Re: ScrollPager doesn't respect the margin of customaxis

Ok thanks. I have another related question. In order to get the width of the labels we do this? double maxVal = chart.Series[current].CustomVertAxis.Maximum; float twidth = chart.Graphics3D.TextWidth(maxVal.ToString(chart.Series[current].CustomVertAxis.Labels.ValueFormat)); But by example when maxva...
by acastro
Fri Jun 20, 2014 7:14 am
Forum: .NET
Topic: ScrollPager doesn't respect the margin of customaxis
Replies: 49
Views: 78563

Re: ScrollPager doesn't respect the margin of customaxis

Thanks I understand your point, but anyway, if that events sets some properties to the chart, why that property values are not saved and then loaded when opened?
by acastro
Thu Jun 19, 2014 12:49 pm
Forum: .NET
Topic: ScrollPager doesn't respect the margin of customaxis
Replies: 49
Views: 78563

Re: ScrollPager doesn't respect the margin of customaxis

I follow with some problems in the same topic. Please find an example project to reproduce. http://193.145.251.126/pnp/files/TnROgFPfM/TestMultiscaleZoom.zip If you press button1 to configure the chart. Button2 to save the chart, and button 3 to open the save chart the margin in the scrollpager is c...
by acastro
Mon Jun 16, 2014 10:22 am
Forum: .NET
Topic: ColorLine and CustomAxis
Replies: 1
Views: 4701

ColorLine and CustomAxis

If I set the color line from charteditor to "Custom0" it is not shown.
http://193.145.251.126/pnp/files/oDNCUx ... omaxis.ten

Programatically I set in this way:
max.Axis = chart.Series[numSerie].CustomVertAxis;

Is this right?

Thanks
by acastro
Mon Jun 16, 2014 8:22 am
Forum: .NET
Topic: Event to know when a serie visible property has changed
Replies: 7
Views: 11923

Re: Event to know when a serie visible property has changed

It is not as easy, it was only a simplification...
Is there in chartlistbox any event to detect if the visible status has changed in any serie?