Search found 23 matches
- Fri Jul 25, 2008 7:01 am
- Forum: ActiveX
- Topic: v7 Pie Chart Aneurysm
- Replies: 1
- Views: 4238
v7 Pie Chart Aneurysm
I have struggled with the pie chart for a whole day. What's up with all the white-space? Even if I set the top margin of the chart to 0 I end up with a huge gap between the top of the chart panel and the top of the pie. I have a similar problem with the legend. Which somehow seems to bottom align or...
- Fri Jun 27, 2008 7:28 am
- Forum: ActiveX
- Topic: Bottom axis labels
- Replies: 1
- Views: 4520
Bottom axis labels
Hi I was certain there was a way to align bottom axis labels (custom) labels. In effect I need the label to draw on the right of the tick, not centered under it? Still plodding along with version 7 (latest). Thanks EDIT: Just encountered something else. Is it possible to draw the grid lines on top o...
- Tue Jun 17, 2008 10:47 am
- Forum: ActiveX
- Topic: Multiple tcCursor tools
- Replies: 3
- Views: 6043
Nevrmind
Sorry - Never mind. I was being a little stupid.
Hi
Here is what I did:
.AddSeries scLine
.Series(0).FillSampleValues 260
l = .Tools.Add(tcCursor)
.Tools.Items(l).asTeeCursor.Style = cssVertical
With just the above code the cursor appears. If I then attempt to add a second cursor, neither appear?
Hi
Here is what I did:
.AddSeries scLine
.Series(0).FillSampleValues 260
l = .Tools.Add(tcCursor)
.Tools.Items(l).asTeeCursor.Style = cssVertical
With just the above code the cursor appears. If I then attempt to add a second cursor, neither appear?
- Tue Jun 17, 2008 8:57 am
- Forum: ActiveX
- Topic: Multiple tcCursor tools
- Replies: 3
- Views: 6043
Multiple tcCursor tools
Using v7 of ActiveX control.
Is it possible to add two tcCursor tools, both with style = vertical?
Is it possible to add two tcCursor tools, both with style = vertical?
- Mon Mar 03, 2008 7:07 am
- Forum: ActiveX
- Topic: Horizontal Drawline
- Replies: 1
- Views: 4621
Horizontal Drawline
Hi I want to be able to force the drawline to remain horizontal, if for example the user is holding down a specific key while drawing. I tried the following line of code in the OnDrawLineToolLineDrag event: Chart1.Tools.Items(Chart1.Tools.Count - 1).asDrawLine.ToPoint.Y = Chart1.Tools.Items(Chart1.T...
- Thu Jul 26, 2007 1:29 pm
- Forum: ActiveX
- Topic: Axis min/max for visible data only
- Replies: 3
- Views: 7030
Sorry
That was actually a bit embarressing since even doing it manually wasn't exactly rocket-science! I think I do have a real question now though. Same basic chart as before, ie, 12000 points, looking at 260 at a time. I want to enable the scroll feature - horizontal only - with the left mouse button. U...
- Wed Jul 25, 2007 1:52 pm
- Forum: ActiveX
- Topic: Axis min/max for visible data only
- Replies: 3
- Views: 7030
Axis min/max for visible data only
In the sample code below the rs contains 12400 records. I set the bottom axis so I am only displaying the last 260 points. How can I get the chart to scale the left axis to the maximum and minimum values visibly displayed? #SAMPLE With tc .Environment.MouseWheelScroll = False .RemoveAllSeries .AddSe...
- Wed May 23, 2007 2:03 pm
- Forum: ActiveX
- Topic: ImagePoint
- Replies: 1
- Views: 4327
ImagePoint
I want to draw a custom image at each point of my series. When I do this using the Point series and the .Brush.AssignImage method it seems as though it tiles the image behind the chart and each point is actually a 'cut-out' displaying a portion of the tiled image, meaning my image looks wrong. For r...
- Mon May 21, 2007 11:36 am
- Forum: ActiveX
- Topic: Custom labels from recordset
- Replies: 1
- Views: 4355
Custom labels from recordset
I have a recordset with two fields, priceDate and priceClose. I plot using the DataSource property, ie: .Series(0).DataSource = rs .Series(0).YValues.ValueSource = "prClose" The priceDate interval is daily and the recordset covers many years. I only want an x-axis label at each year change. How woul...
- Thu Jan 11, 2007 10:30 am
- Forum: ActiveX
- Topic: scPoint tooltips
- Replies: 1
- Views: 4250
scPoint tooltips
I have a base series which is a normal scLine. To indicate events at certain points in time I add a scPoint series which then plots squares at the relevant point in time on top of the base line. I have custom tooltips so I use the OnMouseEnterSeries to determine which series the mouse is on then cal...
- Mon Nov 13, 2006 10:23 am
- Forum: ActiveX
- Topic: 'Annotation' Problem
- Replies: 1
- Views: 4138
'Annotation' Problem
I think there must be a correct way to do what I need. I have a financial chart that generally has more points plotted than visible to user, who can scroll the chart left/right as needed. I want user to be able to add 'annotations' to their chart where ever they click on the chart face. If I use ann...
Version 7
Chart displaying strange behaviour. I have the EXACT same app using version 7 of the control running on two different XP machines. Machine 1 displays my price line on chart as expected. Machine 2 displays chart, x axis correctly formatted with dates but the y-axis display only 0? Has something like ...
- Thu Sep 07, 2006 8:48 am
- Forum: ActiveX
- Topic: Tools collection .pen.width problem
- Replies: 1
- Views: 4152
Tools collection .pen.width problem
Hi I use the drawline tool to create trendlines on my chart. My interface allows user to modify .pen.width of line. This works fine if I do it directly. If I attempt to do it via a properties form (which opens modal) the property value changes correctly but it does not change visually after the form...
- Thu Aug 03, 2006 9:22 am
- Forum: ActiveX
- Topic: Drawlines Tool
- Replies: 1
- Views: 4900
Drawlines Tool
Hi
I need to be able to remove the drawhandles from a drawline tool programatically. Is this possible?
Also, I have drawlines that I have labeled with the annotation tool. Is it possible to have the annotations move with the drawline when I scroll the chart?
Regards,
Ross
I need to be able to remove the drawhandles from a drawline tool programatically. Is this possible?
Also, I have drawlines that I have labeled with the annotation tool. Is it possible to have the annotations move with the drawline when I scroll the chart?
Regards,
Ross
- Mon Jul 24, 2006 1:14 pm
- Forum: ActiveX
- Topic: Fibonacci Retracement v7
- Replies: 5
- Views: 8619
Solved!
I worked it out with a little bit of homework and help from my friends :) Thought I'd post for some future readers benefit. On the mouse up event, if the button is the right mouse button I call the following code to see if the point clicked is on a drawline: (The variables are a little OTT but it wa...