indiTraders - Forum for the Active Indian Trader  

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

GFDL
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,468
Thanks: 15,905
Thanked 18,554 Times in 5,160 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 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 online now
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,233
Thanks: 1,149
Thanked 4,201 Times in 1,121 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:
  #63 (permalink)  
Old 07-04-2017, 12:51 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,468
Thanks: 15,905
Thanked 18,554 Times in 5,160 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 reputedevdas has a reputation beyond repute
Default

Indicator template does not restore chart properties like background color, girds etc ?
__________________
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:
  #64 (permalink)  
Old 07-04-2017, 01:25 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,468
Thanks: 15,905
Thanked 18,554 Times in 5,160 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 reputedevdas has a reputation beyond repute
Default

One more thing - is data series setting missing or not incorporated yet ?
Changing chart length is not possible.....have to make new chart....
__________________
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:
  #65 (permalink)  
Old 07-04-2017, 01:32 AM
joy joy is online now
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,233
Thanks: 1,149
Thanked 4,201 Times in 1,121 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
Indicator template does not restore chart properties like background color, girds etc ?

Expected. Indicator templates saves the indicators only.

For background color and other chart property, you save it via the workspace (in Main View goto Window > Save Workspace).

Currently there is only one workspace one can save. Multiple workspace is however is in the list of future enhancement.


In this context let me also point out, the concept of background color (in the chart) is a redundancy. Future major release, may not have the "background color" option. Custom skins are more apt for it
  • In Main View goto Settings >Options > General tab >Skin
  • Choose @Expression Dark
  • Restart ArthaChitra.

This way the whole app gets a new look and not just any particular view. You can locate the skins in the folder <My Documents>\ArthaChitra 1\Xaml Resource\Skin\ folder

The default skin is really very simple (attached DefaultSkin.xaml). You easily modify it to your liking (e.g. attached CustomSkin.xaml). This way the application, across the board, will have a uniform color. of course the default skin is very simplistic in nature. You can do a whole lot of stuff with skins.

P.S. Please extract the content of the Skins.zip file to the folder <My Documents>\ArthaChitra 1\Xaml Resource\Skin folder
Attached Files
File Type: zip Skins.zip (1.2 KB, 1 views)
__________________
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:
  #66 (permalink)  
Old 07-04-2017, 01:55 AM
joy joy is online now
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,233
Thanks: 1,149
Thanked 4,201 Times in 1,121 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
One more thing - is data series setting missing or not incorporated yet ?
Changing chart length is not possible.....have to make new chart....

Ya, the data series settings is not yet incorporated. The underlying architecture already exists so just a matter of implementing the view/gui.

if bars built type is different then you can set the 'days to load' from,
  • In Main View menubar goto Settings>Options>Data tab
  • Append a suitable value in the field Day/Minute/Tick reload days.
__________________
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:
  #67 (permalink)  
Old 07-04-2017, 02:07 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,468
Thanks: 15,905
Thanked 18,554 Times in 5,160 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 reputedevdas has a reputation beyond repute
Default

CrossHair yet to implement ?
__________________
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:
  #68 (permalink)  
Old 07-04-2017, 09:23 AM
joy joy is online now
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,233
Thanks: 1,149
Thanked 4,201 Times in 1,121 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
CrossHair yet to implement ?

Unfortunately not yet. This will take some time.
__________________
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:
  #69 (permalink)  
Old 07-04-2017, 10:10 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,468
Thanks: 15,905
Thanked 18,554 Times in 5,160 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 reputedevdas has a reputation beyond repute
Default

Day break line disappear if i change chart periodicity from 5 or 15 minute to 60 minute. Going back from 60 minute to 5/15 make them appear.
__________________
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:
  #70 (permalink)  
Old 07-04-2017, 11:34 AM
joy joy is online now
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,233
Thanks: 1,149
Thanked 4,201 Times in 1,121 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
Day break line disappear if i change chart periodicity from 5 or 15 minute to 60 minute. Going back from 60 minute to 5/15 make them appear.

The X-Axis granularity is in 'days' when a lower granularity chart is opened. Hence the day-break is no longer appended.

Will see if the scenario can be changed.
__________________
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


GFDL

All times are GMT +5.5. The time now is 01:59 AM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2