User (Legacy) Posted February 11, 2004 Report Share Posted February 11, 2004 I've read about the different ways to add data to a chart, but I'm wondering what advantages there are to using a ListProvider vs the API (Open, Close etc)? I understand that the code is potentially simpler with the ListProvider, but then again, a making a loop to fill the chart with data isn't that complicated either. Is the choice mainly a matter of convenience? Our charts will have about 10 series with 5000 pts per series. I've observed that the Open/Close methods are quite fast, but the on screen rendering (after the close) could take up to 10 seconds. Do you have any tips to reduce the drawing time? Thanks, Mitch Link to comment Share on other sites More sharing options...
Software FX Posted February 11, 2004 Report Share Posted February 11, 2004 About passing the data to the chart: The choice is mostly a matter of convenience, we also have some methods that control how our generic databinding works (e.g. using dates as strings or real dates, transversing the data, crosstab provider) that could make your code more "changeable" if your data is already on an array/list. If not I would continue using OpenData/CloseData if these features are not needed. We will eventually have a similar loop to the one you wrote. About optimizing the rendering time I think there are some articles in our KB regarding optimizing chart for a big number of points, the settings you may want to consider are: - Turn off AntiAlias (SmoothFlags) - Remove the Borders if you are creating a bar chart. -- Regards, JC Software FX Support "Mitch" <xxxxx@avantium.com> wrote in message news:kG1K9OO8DHA.200@webserver3.softwarefx.com... > I've read about the different ways to add data to a chart, but I'm wondering > what advantages there are to using a ListProvider vs the API (Open, Close > etc)? I understand that the code is potentially simpler with the > ListProvider, but then again, a making a loop to fill the chart with data > isn't that complicated either. Is the choice mainly a matter of convenience? > > Our charts will have about 10 series with 5000 pts per series. I've observed > that the Open/Close methods are quite fast, but the on screen rendering > (after the close) could take up to 10 seconds. Do you have any tips to > reduce the drawing time? > > Thanks, > Mitch > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.