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

Message ListMessage List     Post MessagePost Message

  finance chart indicator header
Posted by Craig Roberts on Aug-14-2019 04:23
Hello Peter,

I am adding 10x ema indicators to a finance chart. Is there a way to stop the indicators from adding the header information, as 10x indicators reduce the chart space, and I do not need to see them.

Regards
Craig

  Re: finance chart indicator header
Posted by Peter Kwan on Aug-15-2019 03:39
Hi Craig,

By "header information", I assume you are referring to the text that appears at the top of the FinanceChart. They are the legend box entries.

When you add an EMA indicator, it will return a LineLayer object. You can use it to set the "data name" of the line to an empty string. In this way, the legend box entry will not appear. For example:


// Add a 20 period EMA to the main chart
LineLayer layer = c.addExpMovingAvg(20, 0x9900ff);

// Set the data name to an empty string to disable the legend entry
layer.getDataSet(0).setDataName("");


Hope this can help.

Regards
Peter Kwan


cix porn hard porn kostenlose porn amateur xxx love porn amateur sex hd porn free 3 xxx moblie porn