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

Message ListMessage List     Post MessagePost Message

  Scatter plot circle thickness
Posted by Naveen on Nov-19-2016 01:17
Hi Peter,

Is it possible to specify a line thickness for a scatter plot's circles when the fill color is transparent and the border color isn't?

I'm doing this:

layer = chart.addScatterLayer(data[0], data[1],
                        "", CircleShape, 10, Transparent, palette[0])

but I can't seem to find any way to make the symbols have a thicker outline.

Thanks,
Naveen

  Re: Scatter plot circle thickness
Posted by Peter Kwan on Nov-19-2016 02:31
Hi Naveen,

If you are using ChartDirector 6.0, you can try:

layer = chart.addScatterLayer(data[0], data[1])

#circle shape with line width = 3
layer.getDataSet(0).setDataSymbol(CircleShape, 10, Transparent, palette[0], 3)

Hope this can help.

Regards
Peter Kwan

  Re: Scatter plot circle thickness
Posted by Naveen on Nov-19-2016 02:53
Hi Peter,

Thanks, that's exactly what i was looking for!

Regards,
Naveen