Search found 9 matches

by Nik
Wed Nov 28, 2012 12:46 pm
Forum: .NET
Topic: Resize some points in serie
Replies: 6
Views: 7710

Re: Resize some points in serie

Why afraid ?

If Steema can have different color for each point,
what strange have different size for each point?
by Nik
Wed Nov 28, 2012 8:34 am
Forum: .NET
Topic: Resize some points in serie
Replies: 6
Views: 7710

Re: Resize some points in serie

Y understand not correct.

I don't want make size all points in serie equal.
Need each point in serie set size equal her yval.

Example
1 point have yval == 3 then size must = 3
2 point have yval == 2 then size must = 2
3 point have yval == 5 then size must = 5

How can do it?
by Nik
Mon Nov 26, 2012 8:53 am
Forum: .NET
Topic: Resize some points in serie
Replies: 6
Views: 7710

Resize some points in serie

Hi How can resize some points in serie ? Example DataSet ds = new DataSet(); DataTable dt = new DataTable(); dt.TableName = "myTable"; dt.Columns.Add(new DataColumn("X", System.Type.GetType("System.Double"))); dt.Columns.Add(new DataColumn("Y", System.Type.GetType("System.Double"))); dt.Rows.Add(new...
by Nik
Sun Nov 11, 2012 7:49 pm
Forum: .NET
Topic: How DataSource Table filtering
Replies: 1
Views: 3355

How DataSource Table filtering

Hi,
How DataSource Table filtering
Example

Code: Select all

dataset1.Tables["MyTable"].DefaultView.RowFilter = string.Format("{0}", "Field1 = 'filterPattern'");
serie.DataSource = dataset1.Tables["MyTable"];
serie.YValues.DataMember = "Field1";
serie.XValues.DataMember = "Field1";
This example don't work.
by Nik
Fri Nov 09, 2012 8:39 am
Forum: .NET
Topic: Does Teechart support datasource as Generic List<T>?
Replies: 6
Views: 10770

Re: Does Teechart support datasource as Generic List<T>?

How now about use List<T> as serie.DataSource ?
by Nik
Fri Oct 12, 2012 8:29 am
Forum: .NET
Topic: Auto refresh serie when chage data in DataSourse
Replies: 7
Views: 9228

Re: Auto refresh serie when chage data in DataSourse

See attached file
Project OptionMonitor

If in tmr_ChartProcessor comment tChart1.Refresh();
then chart not repaint series with any combination _ser.Paint() and _ser.RefreshSeries
by Nik
Thu Oct 11, 2012 11:39 am
Forum: .NET
Topic: Auto refresh serie when chage data in DataSourse
Replies: 7
Views: 9228

Re: Auto refresh serie when chage data in DataSourse

I can send/attach my form, but My myForm(with chart and dataset) created in library because the launch from other programm (base_programm) Dataset passing as parametr in myForm. And base_programm changing data in dataset tables. Y can't run it. Attach myForm ? Therefore in myForm not exist events fo...
by Nik
Thu Oct 11, 2012 10:36 am
Forum: .NET
Topic: Auto refresh serie when chage data in DataSourse
Replies: 7
Views: 9228

Re: Auto refresh serie when chage data in DataSourse

Isn't CheckDataSource() working? Look above _seriesPoints.DataSource = myDataSet.Tables["myTable"]; imho, which means that _ser.DataSource mast be equal != null AutoRepaint - it is good, but myDataSet.Tables["myTable"] not have event CurrentCellChanged how have dataGrid1 and how make _ser.CheckData...
by Nik
Wed Oct 10, 2012 9:51 am
Forum: .NET
Topic: Auto refresh serie when chage data in DataSourse
Replies: 7
Views: 9228

Auto refresh serie when chage data in DataSourse

Hi I created points serie Steema.TeeChart.Styles.Points _seriesPoints = new Steema.TeeChart.Styles.Points(); _seriesPoints.bBrush.Color = _colSerie; _seriesPoints.Pointer.Style = _pointerStyles; _seriesPoints.DataSourse = myDataSet.Tables["myTable"]; _seriesPoints.YValues.DataMember = _strAxisY; _se...