Search found 37 matches

by jzarech
Mon Nov 09, 2020 6:16 pm
Forum: .NET
Topic: Programmatically Creating DrawLineItem Error Null Handles Exception
Replies: 3
Views: 1300

Re: Programmatically Creating DrawLineItem Error Null Handles Exception

Christopher - u r correct! I feel dumb for missing the constructor that takes the drawline object as a param.
fixed.gif
fixed.gif (60.87 KiB) Viewed 1287 times
Thanks soooooo much!!!
by jzarech
Mon Nov 09, 2020 7:52 am
Forum: .NET
Topic: Programmatically Creating DrawLineItem Error Null Handles Exception
Replies: 3
Views: 1300

Programmatically Creating DrawLineItem Error Null Handles Exception

I'm adding DrawLineItems to the Lines collection and that's fine -- Until the chart tries to refresh and throws an exception because all the "Handles" fields such as EndHandle, MidlleBottomHandle, MiddleTopHandle, and Starthandle are Null so a NullReferenceException is thrown. My question is how to ...
by jzarech
Wed Nov 04, 2020 9:38 am
Forum: .NET
Topic: DrawLineItem
Replies: 2
Views: 903

Re: DrawLineItem

Figured it out --
Here's the code --
drawlinessolution.gif
drawlinessolution.gif (29.82 KiB) Viewed 884 times
by jzarech
Tue Nov 03, 2020 4:29 pm
Forum: .NET
Topic: DrawLineItem
Replies: 2
Views: 903

DrawLineItem

Hi All -- Love the DrawLines class never used it before. I have a list on the screen where I have a list of DrawLineItems on chart. I want to be able to click on a line item in my list and have that line become "selected" on the chart -- as if I clicked on the line itself. Is there some way to do th...
by jzarech
Wed Dec 05, 2018 8:36 am
Forum: .NET
Topic: How do you set the color of chart "drawing" area???
Replies: 2
Views: 4349

Re: How do you set the color of chart "drawing" area???

I spent hours on this! Thanks very much!!!
by jzarech
Wed Dec 05, 2018 7:00 am
Forum: .NET
Topic: How do you set the color of chart "drawing" area???
Replies: 2
Views: 4349

How do you set the color of chart "drawing" area???

I've looked through every setting in the properties dialog for TChart and can't set the "drawing area" color for the chart for the life of me (see attachment)
clientarea.jpg
clientarea.jpg (82.78 KiB) Viewed 4349 times
. any help would be greatly appreciated.Thanks very much.
by jzarech
Sun Jan 14, 2018 10:35 am
Forum: .NET
Topic: Custom Drawing "On Top" of Series Lines...how to change...
Replies: 2
Views: 3974

Re: Custom Drawing "On Top" of Series Lines...how to change...

BeforeDrawSeries event handle's it perfectly. So the way the events are named means this - "DrawCustomStuffBeforeDrawSeries"
Thanks so much!
joseph
by jzarech
Thu Jan 04, 2018 8:37 pm
Forum: .NET
Topic: Custom Drawing "On Top" of Series Lines...how to change...
Replies: 2
Views: 3974

Custom Drawing "On Top" of Series Lines...how to change...

I do custom drawing on the "afterdraw" event and the custom lines are drawing on top of the fastline series in my chart. The series data is more important than the custom drawing lines so I want those on top. Is there any way to have the custom drawn lines not overwrite the series data??? Thanks in ...
by jzarech
Fri Dec 15, 2017 2:48 pm
Forum: .NET
Topic: Bollinger Function Leaves Bottom Line when Unselected
Replies: 3
Views: 4665

Re: Bollinger Function Leaves Bottom Line when Unselected

Ahhhh! - Much better -- thanks so much!
Joseph
by jzarech
Tue Dec 12, 2017 6:12 am
Forum: .NET
Topic: Bollinger Function Leaves Bottom Line when Unselected
Replies: 3
Views: 4665

Re: Bollinger Function Leaves Bottom Line when Unselected

No reply so what I did was improvise -- I debugged and found that after a price is added to a Bollinger Function Series it creates a new unnamed series that has .ShowInLegend set to false and has a title of fastLine2. So after adding data to a Bollinger Series I do this: line_tcBollingerID.CheckData...
by jzarech
Mon Dec 11, 2017 3:34 pm
Forum: .NET
Topic: Bollinger Function Leaves Bottom Line when Unselected
Replies: 3
Views: 4665

Bollinger Function Leaves Bottom Line when Unselected

I added a Bollinger function to a candle series on my TChart .Net chart --
When I uncheck the Bollinger series from the chart legend only the Top Bollinger line disappears - but the bottom line remains...
Aren't both Bollinger supposed to disappear?
Thanks in advance for your help.
by jzarech
Mon Sep 05, 2016 8:59 pm
Forum: Javascript / HTML5
Topic: Easy way to Move Series in front of Another
Replies: 2
Views: 4730

Re: Easy way to Move Series in front of Another

Hi Yeray -- I think this is the same as just adding the series to the chart in a different order. All my code that is array based will still have to be modified. I was hoping for an answer that wouldn't require change all my array based index code. Such as Series1.ZOrder = 0 or something like that. ...
by jzarech
Sun Sep 04, 2016 4:47 am
Forum: Javascript / HTML5
Topic: Easy way to Move Series in front of Another
Replies: 2
Views: 4730

Easy way to Move Series in front of Another

Hi Steema -- Without recoding my javascript too much - Is there an easy way to move one series in front of another as it's being blocked. I know I can recode and the series in a different order but I do a lot of index based updates and such and would rather not have to change that. is there a Z-Orde...
by jzarech
Thu May 19, 2016 4:45 pm
Forum: Javascript / HTML5
Topic: Draw Multiple Transparent Bands with DateTime Bottom Axis
Replies: 5
Views: 7529

Re: Draw Multiple Transparent Bands with DateTime Bottom Axis

Wow! Perfect! Yeray thanks so much!!!
by jzarech
Thu May 19, 2016 4:45 pm
Forum: VCL
Topic: Draw Multiple Transparent Bands with DateTime Bottom Axis
Replies: 5
Views: 3679

Re: Draw Multiple Transparent Bands with DateTime Bottom Axis

Wow! Perfect! Yeray thanks so much!!!