Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

How to change width of a line in chart?
 Post subject: How to change width of a line in chart? Post rating: 0   New post Posted: Tue 02 Mar, 2010, 04:58 

User rating: -
Hello,

Is there a way to change the width of a chart?

I tried this, but it does not work.

IChart chart;
String key;

.....
.....
IChartObject cobj = chart.get(key);
if (cobj != null)
{
// Change width to 5.
cobj.setAttrInt(IChartObject.ATTR_INT.WIDTH, 5);
}


 
 Post subject: Re: DDSJFX-83 How to change width of a line in chart? Post rating: 0   New post Posted: Thu 07 Apr, 2011, 14:58 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Usage of IChartObject.ATTR_<TYPE> deprecated. Please use direct methods specified for each chart object interface
Added method: Boolean IChart.isChartObjectUnlocked(IChartObject chartObject) which checks whether chartObject is unlocked or not


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com