indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Tools > Software > ArthaChitra

Reply
 
Bookmark and Share LinkBack Thread Tools Display Modes
  #61 (permalink)  
Old 21-12-2015, 10:28 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,438
Thanks: 15,846
Thanked 18,453 Times in 5,128 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

1) Whats the syntax of DrawText ( available yet ? ) in DrawingContext ?

2) Can charts min, max be set in sharpscript ?
__________________
Harvest The Moon !!
Nest The Market !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to devdas For This Useful Post:
  #62 (permalink)  
Old 21-12-2015, 11:24 AM
joy joy is offline
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,201
Thanks: 1,108
Thanked 4,105 Times in 1,090 Posts
joy has a reputation beyond repute
joy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond repute
Default

Originally Posted by devdas View Post
1) Whats the syntax of DrawText ( available yet ? ) in DrawingContext ?

2) Can charts min, max be set in sharpscript ?

1. DrawGlyphRun more here
https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx

to create the glyph use ArthaChitra native GetGlyphRun in SharpCharts.Base.Common.Global.GetGlyphRun()

Code:
public static GlyphRun GetGlyphRun(string text, string typeFaceName, double fontSize, Point baseLineOrigin)
May I add, we do not recommend using formatted text as it has performance issues.

2. yes, override the CalculateMinMax method.
Code:
public virtual void CalculateMinMax(ref double min, ref double max, int startBar, int endBar)
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to joy For This Useful Post:
Reply

indiTraders - Forum for the Active Indian Trader > Tools > Software > ArthaChitra


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 03:18 AM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2