Search found 29 matches

by cdn
Tue Nov 13, 2007 12:29 pm
Forum: Java
Topic: Can we delete Financial Functions?
Replies: 7
Views: 15645

Hi:

Thanks for the response. But how do we get access to "getLinePen()"? That seems to be only accessible for FastLine and Axes etc. not for Series. We poked around the API, but we could not locate the place where we could set the pen width.

best regards,
by cdn
Tue Nov 13, 2007 11:21 am
Forum: Java
Topic: Programmatic control of Editor Components
Replies: 4
Views: 11422

Hi:

Hmm... interesting. Your code works.... But, the way we tried to set the orthogonal to "false" does not work. Is that the proper behavior? Anyways, we changed the code along your example. Thanks.

best regards,
by cdn
Tue Nov 13, 2007 11:14 am
Forum: Java
Topic: Getting the Value of intersection point for CrossHair
Replies: 3
Views: 10888

Hi: yes, we are using "CursorTool". What we are trying to get is intersection point of Horizontal and vertical lines - only if we click the point with the mouse. The reason - otherwise there will be too many points being displayed. For example - we would like to display X date value and Y value when...
by cdn
Tue Nov 13, 2007 8:52 am
Forum: Java
Topic: Getting the Value of intersection point for CrossHair
Replies: 3
Views: 10888

Getting the Value of intersection point for CrossHair

Hi: We have implemented CrossHair feature as below - ImageIcon img2 = new ImageIcon("images/CrossHair16.gif"); m_bCrossHair = new SmallToggleButton(false, img2, img2, "CrossHair"); ActionListener crossHair = new ActionListener() { public void actionPerformed(ActionEvent e) { if (m_bCrossHair.isSelec...
by cdn
Tue Nov 13, 2007 8:32 am
Forum: Java
Topic: Programmatic control of Editor Components
Replies: 4
Views: 11422

Hi: Associated question - How can we disable orthogonal property, programmatically? We are using the following snippet to set the property to "false". But, when we check the editor it always shows it as "checked". Aspect asp = new Aspect(tChart2.getChart()); asp.setOrthogonal(false); Any input is we...
by cdn
Tue Nov 13, 2007 6:52 am
Forum: Java
Topic: ADX financial indicator
Replies: 4
Views: 15006

Hi: Thanks for the response. I have a followup question on ADX. I guess this could be related to any financial indicator where multiple series are being displayed (in ADX case - you have 3 series being to differentiate the fluctuations). The question is - how can we get the last value of the other t...
by cdn
Tue Nov 13, 2007 6:47 am
Forum: Java
Topic: Can we delete Financial Functions?
Replies: 7
Views: 15645

Hi Narcis: Thanks for the answer. This solution works great. Appreciate it much. Now, what we need is - somehow able to show the user that particular series is selected as we have quite a few series close by. So, we are wondering whether we could show the user some sort of selected indication on a s...
by cdn
Wed Nov 07, 2007 10:49 am
Forum: Java
Topic: Variance and Correlation
Replies: 5
Views: 13596

Hi: Have you tried with any real datapoints? For example we have uploaded one dataset earlier. Anyways, we tried all the way from 0 to 12. Something happens and it is not the right one. Our data points are between 1/1/07 to current date. Once we plot the correlation the whole chart gets crunched to ...
by cdn
Tue Nov 06, 2007 5:13 am
Forum: Java
Topic: Variance and Correlation
Replies: 5
Views: 13596

Thanks, Marc for the information about Variance. We can't get Correlation to work. Here is the code snippet. tmpAxis = tChart2.getAxes().getCustom().getNew(); tmpAxis.getAxisPen().setColor(com.steema.teechart.drawing.Color.GREEN_YELLOW); tmpAxis.setHorizontal(false); tmpAxis.setOtherSide(true); tmpA...
by cdn
Mon Nov 05, 2007 7:03 am
Forum: Java
Topic: Variance and Correlation
Replies: 5
Views: 13596

Variance and Correlation

Hi: We are trying to display Variance and Correlation as indicators in our charts. Unfortunately, we are not able to display anything. THere are no error messages associated with the data or anything. Nothing gets displayed. So, I was wondering whether we are not doing something properly. For instan...
by cdn
Tue Oct 30, 2007 10:01 am
Forum: Java
Topic: Programmatic control of Editor Components
Replies: 4
Views: 11422

Programmatic control of Editor Components

Hi: We are trying to do the following programmatically. How can we access these parameters? Thanks. From Editor panel - 1. Go to edit and select General under chart 2. Select zoom 3. set border to visible, width 0 and select color as blue 4. Now select pattern and set visible and select lightblue fr...
by cdn
Thu Oct 25, 2007 3:32 am
Forum: Java
Topic: Zoomin and Zoomout
Replies: 7
Views: 16644

We have uploaded the images for your reference. We are using the ratio as mentioned in your code snippet. We ran as it is and the output was as displayed in the images (as you can see we are losing a datapoint for the single zoom .... if we do multiple times we lose quite a few). Please advise. Than...
by cdn
Wed Oct 24, 2007 11:24 am
Forum: Java
Topic: Zoomin and Zoomout
Replies: 7
Views: 16644

Well .... we tried that way also. Let us assume that we zoomed in 95%. Then the ratio turns out to be 5.26% (in your logic). Then we zoomout 105.26% to get back to original chart. Even this value does not bring us back to the original chart location (we lose about 2 data points). Is there a differen...
by cdn
Tue Oct 23, 2007 11:19 am
Forum: Java
Topic: Zoomin and Zoomout
Replies: 7
Views: 16644

Thanks, Narcis. The code you sent us - we are using for Clearing Zoom. But that doesn't help in our current setup. What we have is a separate control for ZoomIn and ZoomOut. So, for example if we do 5 ZoomIn's and 5 ZoomOut's; we should be back at where we started. That is waht we are trying to achi...
by cdn
Tue Oct 23, 2007 8:56 am
Forum: Java
Topic: Zoomin and Zoomout
Replies: 7
Views: 16644

Zoomin and Zoomout

Hi: We are noticing that zoomin and zoomout do not get us to the same point. For example when we zoomin (once) and zoomout (once) we do not get to the same point on the chart. Is this expected behavior. I will give you the brief code snippets below. ........... zoomin = 95; tChart2.getZoom().zoomPer...