Connecting Tech Pros Worldwide Help | Site Map

Chart problem

  #1  
Old July 2nd, 2008, 06:25 PM
Phil Stanton
Guest
 
Posts: n/a
I am using a scatter chart on a form to show a map and points of interest
that I want labelled.

After a struggle I have loaded the map, loaded the point and from a
recordset, copied and pasted the label information into column 3 of the
chart's Datasheet.

Set DtaSheet = Cht.Application.DataSheet
For Each ChtLabel In ChtLabels
ChtLabel.Caption = DtaSheet.Cells(lCount + 2, 3)
lCount = lCount + 1
Call SysCmd(acSysCmdUpdateMeter, lCount)
Next ChtLabel

This works OK but takes 20 seconds to label 68 points. I thought it might be
quicker to do it this way rather than getting the label information straight
from the recordset, but there is little difference in time.

What can I do to speed it up? Is there a way of loading all the labels at
once

Thanks

Phil


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart Problem Under Vista Wayne answers 14 September 23rd, 2008 02:45 AM
Crystal Reports Chart ???? PROBLEM :{ Ori :) answers 0 November 20th, 2005 09:20 PM
OWC ASP.Net Chart Problem Ben answers 1 November 18th, 2005 04:14 PM
Getting to a Chart's Props? PeteCresswell answers 22 November 13th, 2005 10:58 AM