ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Layer display question
Posted by cici on Apr-14-2015 22:16
Hi Peter,

I have simple question, whether I can use single value instead of the array value to assign
the layer's value? I am using VB.NET WINFORM.

The following is the example code.  When I tried to assign "data0" with single value, my
program will pop out error message.

  layer.addDataSet(data0, &HFF0000, "data").setDataSymbol( _
       ChartDirector.Chart.CircleShape, 9)

Thanks

cici

  Re: Layer display question
Posted by Peter Kwan on Apr-15-2015 03:37
Hi cici,

You can simply change the value into an array using normal VB.NET syntax:

  layer.addDataSet(New Double() {data0}, &HFF0000, "data").setDataSymbol( _
       ChartDirector.Chart.CircleShape, 9)

Hope this can help.

Regards
Peter Kwan

  Re: Layer display question
Posted by cici on Apr-15-2015 03:52
Thank you so much!
You are my saver!!

cici