Search found 20 matches

by icecream
Thu Mar 24, 2016 8:53 am
Forum: .NET
Topic: ColorGrid-code continuous selection of cells in C# .Net v3
Replies: 8
Views: 17560

Re: Re:

How are you drawing that table? This is a code that creates color grid: for (int r = 1; r <= rCount; r++) for (int c = 1; c <= cCount; c++) { colorGrid1.Add(c, 0, r); } This is how I get the values: private Point GetCellIndexes() { return new Point(GetColumn(m_index), GetRow(m_index)); } private in...
by icecream
Wed Mar 23, 2016 12:48 pm
Forum: .NET
Topic: Axes labels position
Replies: 1
Views: 5891

Axes labels position

Is there a way to increase bottom axis labels Y position and left axis labels X position? I want to have an area between axis and label to draw own rectangle there.
I have tried to create new AxisLabelItem and change its X,Y properties, however this does not work.
Using Winforms, TeeChart v3.5.
by icecream
Tue Mar 22, 2016 11:52 am
Forum: .NET
Topic: ColorGrid-code continuous selection of cells in C# .Net v3
Replies: 8
Views: 17560

Re:

private int GetColumn(int ValueIndex) { return ValueIndex / colorGrid1.NumXValues; } private int GetRow(int ValueIndex) { return ValueIndex % colorGrid1.NumZValues; } Hi Yeray, Could you please explain how does GetRow method work? Why there are no NumYValues? I have tried to get Col and Row in the ...
by icecream
Fri Mar 18, 2016 10:06 am
Forum: .NET
Topic: Thumbnail of TChart
Replies: 3
Views: 8274

Re: Thumbnail of TChart

Win forms. TeeChart v3.5.
by icecream
Thu Mar 17, 2016 12:06 pm
Forum: .NET
Topic: Thumbnail of TChart
Replies: 3
Views: 8274

Thumbnail of TChart

Hi, I am wondering whether TChart has a feature to display a thumbnail (small copy) of the main (large) chart? The small one should reflect the changes of the large one.
Thanks.
by icecream
Fri Oct 16, 2015 10:23 am
Forum: .NET
Topic: Change Axis Title Position
Replies: 1
Views: 6277

Change Axis Title Position

Hello, Is there any way to change axis title position? I would like to move my bottom axis title down from its default position. Axis.Bottom.Title has Top and Left properties, but changing them does not change anything. I have already tried adding spaces to my custom labels - it just trims the label...
by icecream
Fri Aug 07, 2015 3:33 pm
Forum: .NET
Topic: Set chart inner left and width
Replies: 2
Views: 6684

Re: Set chart inner left and width

Thank you Cristopher! I was able to do this with the following code: protected override void OnLoad(EventArgs e) { base.OnLoad(e); chart2.Chart.GetAxesChartRect += chart23_GetAxesChartRect; chart3.Chart.GetAxesChartRect += chart23_GetAxesChartRect; } void chart23_GetAxesChartRect(object sender, Stee...
by icecream
Wed Aug 05, 2015 3:08 pm
Forum: .NET
Topic: Set chart inner left and width
Replies: 2
Views: 6684

Set chart inner left and width

Hello,

I have a split container with three panels. Each panel contains a chart, which fills the entire area. Is there a way to make charts left and width the same? Playing with Width and Left properties does not make any effect.
Image

Thanks.
by icecream
Thu Jul 23, 2015 4:44 pm
Forum: .NET
Topic: CalcYPosValue returns 0
Replies: 2
Views: 6546

Re: CalcYPosValue returns 0

Thank you! This works like a charm.
It works without calling Draw() when TChart is placed on UserControl in design mode. However it requires force redrawing in my unit tests.
by icecream
Thu Jul 23, 2015 1:59 pm
Forum: .NET
Topic: CalcYPosValue returns 0
Replies: 2
Views: 6546

CalcYPosValue returns 0

Hello,

There is a simple example in attachment that creates a TChart and outputs a value returned by CalcYPosValue(120) method.
This value is always 0, despite what I pass as a parameter.
So, my question is why and what should be done to make it show correct value?

Thanks.
by icecream
Thu Jul 23, 2015 1:18 pm
Forum: .NET
Topic: Color line is very slow
Replies: 6
Views: 11841

Re: Color line is very slow

I was able to fix the issue, but I do not understand why does this work. I have found an old project with color lines, which all move smoothly and step by step removed its parts until it stop working. It is not clear why, but it works because of Steema.TeeChart.Tools.Annotation object placed on my U...
by icecream
Mon Jul 06, 2015 10:19 am
Forum: .NET
Topic: Color line is very slow
Replies: 6
Views: 11841

Re: Color line is very slow

Christopher wrote:Have you tried downloading the latest evaluation version from here:
http://steema.com/download/net
to see if that resolves the issue?
Latest version works fine.

Support, is there a workaround for version 3.5?
Thanks.
by icecream
Fri Jul 03, 2015 12:57 pm
Forum: .NET
Topic: Hint for Annotation
Replies: 3
Views: 8260

Re: Hint for Annotation

There is no OnMouseMove event (at least in version 3) for annotation and since it is not of Control type, I cannot assign .Net ToolTip.
P.S.: not sure whether this should be placed in the .Net forum.
by icecream
Fri Jul 03, 2015 12:25 pm
Forum: .NET
Topic: Color line is very slow
Replies: 6
Views: 11841

Re: Color line is very slow

I am using version 3.5.3274.30664.
by icecream
Thu Jul 02, 2015 3:57 pm
Forum: .NET
Topic: Color line is very slow
Replies: 6
Views: 11841

Color line is very slow

Hello, There is simple example in attachment, which adds two color lines to the chart. The color line that was added first can be smoothly moved, however color line that was added second moves very-very slowly. Also, at this time cursor flickers. Please suggest what can I do to make them all move sm...