dstempien wrote: > Dartware et al, > > Does anyone know if it's possible to build a web page comprised of multiple > InterMapper charts? My team has a monthly statistical review meeting, and > we've found it very effective to stack a list of charts for the same data vs. > clicking each chart separately. It looks like the web charts are generated > in javascript upon request. Is there documentation available on calling that > script directly?
There's a little bit of documentation on the charts in the Developer Guide, under "Customizing Web Pages"; see "Macros" and "Tip for calling charts". The easiest way to get it is probably to just set up a chart the way you want it in the existing web interface, right click on the chart image and select "copy image URL" (I'm using Chrome, other browsers should have something similar). That should show you all of the options needed. The charts are created on the fly, so unless you have specified an "endtime", the chart will show the most recent data at the time that it is loaded. This has been done successfully by other users. dstempien wrote: > > I'm considering this as I'd like to retire another tool (Cacti) by > consolidating that functionality into InterMapper. InterMapper charts are > much easier for our users to understand and manage. However, I'm concerned > about scaling and the number of strip charts InterMapper will handle before > it get resource starved. > Can you expand on your scaling concern? Are you concerned about the number of charts that can be collected, or the number of charts that can be displayed at one time? Both of these have an impact on performance, but the answer is different for the two questions. In both cases, though, the answer scales by the total number of datasets present in the charts (each dataset requires a disk seek to either read or write it, and disk seeks are still rather slow; we don't have much data on performance on SSDs, as the reliability of SSDs with write-heavy workloads has not been good in the past). The number of datasets that can be collected is at least several thousand; we've tested 7,500 with a MacPro from '08 or '09 (off the top of my head, a Xeon @ 2Ghz, single disk, 4 G ram) We used this to test exporting data to the reports database. Some versions of some popular "security" add-ons for mass-market OS's have truly awful performance implications and can cut the maximum by as much as a factor of 10 or more. The number of charts that can be viewed at once is more of a two-dimensional problem in the number of datasets and the length of time being viewed at once; use the "yearly" timescale sparingly! This is more obvious if it's bad -- if the page takes a long time to display all the charts, it's hurting performance. On the other hand, it's a one-time hit unless you are continually refreshing the page, and so may not particularly matter. dstempien wrote: > > Finally, what's the best way to reconcile old strip chart data? Just delete > the oldest data files in each chart's directory? Or will that munge the > ability for the chart to be reconstructed? > That won't do what you want :-D Each chart is contained within a single file; deleting any file will remove all of the data corresponding to that dataset. There is a "Delete" button in the Chart Options > Data tab that allows you to delete old data from a chart data file. Doing this either automatically or for multiple datasets at once is on our radar, but not something that's currently scheduled to be done in the near future. -------------------- m2f -------------------- Read this topic online here: http://forums.dartware.com/viewtopic.php?p=3634#3634 ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [email protected]
