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.

Draw Line .SetText
 Post subject: Draw Line .SetText Post rating: 0   New post Posted: Sun 19 Nov, 2017, 18:51 

User rating: 0
Joined: Fri 31 May, 2013, 21:20
Posts: 14
Location: Syrian Arab RepublicSyrian Arab Republic
Hi

I use the folowing code to draw a horizontal line on chart, But the text doesn`t appear with fully contents
always appear like this " line drawn with price a............. "
so, How can I see the full content of my Text
thx

            IHorizontalLineChartObject hLine = chart.getChartObjectFactory().createHorizontalLine();
            hLine.setPrice(0, _Lprice);
            hLine.setText("bla bla bla bla" +  _WeeklyP);
            hLine.setColor(Color.RED);
            chart.addToMainChartUnlocked(hLine);
            hLines.add(hLine);



 

Jump to:  

cron
  © 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