Search found 50 matches

by jenb
Tue Dec 08, 2009 9:50 am
Forum: .NET
Topic: Line Series - Points Only?
Replies: 1
Views: 4511

Re: Line Series - Points Only?

I found a way to do what I wanted. See below: public void ToggleShowSeriesLines(bool bVisible) { foreach (Steema.TeeChart.Styles.Series ts in _tcChart.Series) { if (ts is Steema.TeeChart.Styles.Line) { if (!bVisible) { ((Steema.TeeChart.Styles.Line)ts).LinePen.Visible = false; ((Steema.TeeChart.Styl...
by jenb
Mon Dec 07, 2009 4:08 pm
Forum: .NET
Topic: Line Series - Points Only?
Replies: 1
Views: 4511

Line Series - Points Only?

I want to toggle a line series between displaying as a line, and displaying the points only. Can I achieve this by using the line series only or do I have to change the series style from a line series to a point series.
by jenb
Mon Jun 15, 2009 8:07 am
Forum: .NET
Topic: Tool Tip for Box Plot
Replies: 4
Views: 7613

Re: Tool Tip for Box Plot

Hi Narcis I tried your suggestion with the OnMouseMove event however it seems that (box1.Clicked(e.X, e.Y) != -1) is true any time the mouse moves over any of the three box series on the chart. The same happens when I set up OnMouseEnter or OnMarkTipGetText events for the separate box series. Even t...
by jenb
Thu Jun 11, 2009 2:02 pm
Forum: .NET
Topic: Tool Tip for Box Plot
Replies: 4
Views: 7613

Re: Tool Tip for Box Plot

I think that the mark tip tool can be used to do what I want. However with the box series the mark tip seems to only be displayed when the mouse is right at the minimum point of the series. Ideally the mark tip would be displayed when the mouse is over any point in the series. Any suggestions? I hav...
by jenb
Thu Jun 11, 2009 10:40 am
Forum: .NET
Topic: Tool Tip for Box Plot
Replies: 4
Views: 7613

Tool Tip for Box Plot

Hi Narcis I would like to do something like the following: Hover the mouse over a box in the box plot and display information in a large tool tip window. Example of information to be displayed would be a summary of information on the box series, e.g. median, minimum, and maximum values, number of ob...
by jenb
Mon Apr 06, 2009 12:51 pm
Forum: .NET
Topic: Aspect Ratio of Chart
Replies: 7
Views: 12458

Hi Yeray I managed to get both axis equal by multiplying xyscreen by constant 1.7 (see below) double xyscreen = GetDeviceCaps(hptr, HORZSIZE) * screen.Bounds.Height*1.7; xyscreen /= (double)GetDeviceCaps(hptr, VERTSIZE) * screen.Bounds.Width; I want both axis to look the same regardless of the rotat...
by jenb
Thu Apr 02, 2009 1:33 pm
Forum: .NET
Topic: Aspect Ratio of Chart
Replies: 7
Views: 12458

Yeray I looked at your example, but I can't use the code from it, quoted below, as HandleDC is no longer supported. XYScreen = (GetDeviceCaps(.Canvas.HandleDC, HORZSIZE) / Screen.Width) / (GetDeviceCaps(.Canvas.HandleDC, VERTSIZE) / Screen.Height) I am using the following code Screen screen = Screen...
by jenb
Mon Mar 23, 2009 9:16 am
Forum: .NET
Topic: Surface Series Palette Problem
Replies: 7
Views: 11828

Hi Narcis I posted a solution, MapDisplay.zip, on your upload site. If you build and run the solution then the chart will be displayed. To show the problem, firstly rotate the chart to show the view from the top then left mouse click near the botton right corner of the chart, Then move the mouse acr...
by jenb
Fri Mar 20, 2009 9:12 am
Forum: .NET
Topic: Aspect Ratio of Chart
Replies: 7
Views: 12458

Dear Yeray

Your suggested solution does work for initial display of the chart, but how do I deal with the OnRotate event?

It would be nice if there were some options in the chart that could scale the two axis according to their min and max values.

Regards

jenb
by jenb
Fri Mar 20, 2009 9:08 am
Forum: .NET
Topic: Grid for surface series
Replies: 1
Views: 4754

Grid for surface series

If I try the following for a surface series (or colorgrid) Random y = new Random(); double[] dX = new double[36]; double[] dY = new double[36]; double[] dZ = new double[36]; int iCount = 0; for (int i = 0; i < 6; ++i) { for (int j = 0; j < 6; ++j) { dX[iCount] = i; dZ[iCount] = j; dY[iCount] = y.Nex...
by jenb
Fri Mar 20, 2009 9:01 am
Forum: .NET
Topic: Surface Series Palette Problem
Replies: 7
Views: 11828

Hi Narcis I'm still getting the palette problem. It may be due to the interaction of the chart and the nearest line tool, sometimes all cells go the same color in the series, e.g. if I click on a cell on the bottom right and then drag the cursor over the chart from bottom right to top left. All cell...
by jenb
Wed Mar 18, 2009 10:30 am
Forum: .NET
Topic: Aspect Ratio of Chart
Replies: 7
Views: 12458

Aspect Ratio of Chart

I am using a surface series chart. Even when I have 100 x, and 100 z points the chart appears as a rectangle, not a square. How can I fix the aspect ratio of the chart so that it appears as a square.

Thanks in advance for any help.
by jenb
Tue Mar 17, 2009 4:02 pm
Forum: .NET
Topic: Surface Series Palette Problem
Replies: 7
Views: 11828

Dear Sandra

I was using 3.5.3274.30664, I've now upgraded to the latest version, 3.5.3330.21112. It now seems ok. Maybe the problem was that I was using a lower value for the x and z axes of 1, not 0?
by jenb
Tue Mar 17, 2009 9:16 am
Forum: .NET
Topic: Surface Series Palette Problem
Replies: 7
Views: 11828

Surface Series Palette Problem

I am using a surface series with regular grid. 100 x points, and 50 y points. All z values are between 0 and 1. I followed one of your examples for the surface series to set the palette type. When the chart is first displayed it shows the strong palette which is correct, but as soon as I interact wi...
by jenb
Wed Feb 25, 2009 1:41 pm
Forum: .NET
Topic: Irregular ColorGrid Clicked(X, Y) method
Replies: 1
Views: 4323

Irregular ColorGrid Clicked(X, Y) method

With an irregular ColorGrid the Clicked(X, Y) method always returns -1. The method works ok with a regular grid. Is there an alternative to the Clicked method that I can use for an irregular grid?