home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / education / a / chartdraw / !ChartDraw / !Help < prev    next >
Encoding:
Text File  |  1992-03-19  |  13.8 KB  |  372 lines

  1.  
  2.  
  3. !Chartdraw, © by Chris Johnson, 1990
  4. ====================================
  5.  
  6.  
  7. *********************************************************
  8.  
  9. ACKNOWLEDGEMENT
  10.  
  11. THIS PROGRAM WAS COMPILED USING THE DABS PRESS ARCHIMEDES
  12. BASIC COMPILER (ABC)
  13.  
  14. *********************************************************
  15.  
  16.  
  17. This fully multi-tasking application allows the production
  18. of a range of charts from data that can be entered and
  19. edited. The program plots line graphs, stacked and grouped
  20. barcharts and piegraphs. The current implementation allows
  21. only 2D-representation of the bars and pies, which is
  22. sufficient for most needs.
  23.  
  24. This application now gives full support to Acorn's !Help
  25. application, displaying information on the various icons
  26. and windows when the !Help window is open.
  27.  
  28. Starting the program
  29. --------------------
  30.  
  31. Double clicking on the !Chartdraw directory installs the
  32. application on the icon bar. Clicking on the icon on the
  33. iconbar opens a scrolling edit window into which the data to
  34. be displayed can be entered. Labels to append to the axes
  35. etc. are also entered. Loading in one of the demonstration
  36. data files should show how the edit window operates.
  37.  
  38. If the program is freshly started, or any previous data has
  39. been cleared, then the edit grid will be empty. If the
  40. program has been used previously, any data already entered
  41. and not cleared will be displayed. It is possible to enter a
  42. main title for the chart, and subtitles for up to four
  43. groups of data. Text labels for the individual data can be
  44. entered into the left hand boxes as required. Note that the
  45. label applies to each corresponding data in the data sets.
  46. The caret can be placed in any box by pointing and clicking
  47. SELECT on the mouse. Pressing return will automatically move
  48. the caret into the next box of the edit window (the caret
  49. need not be at the right hand end of the text) with
  50. automatic scrolling as necessary. All editing is carried out
  51. in the standard fashion of the RISC OS WIMP environment.
  52.  
  53. Note these changes from previous versions. There are a
  54. number of changes to the key strokes. You can now move
  55. around the edit window using the arrow keys, together
  56. with SHIFT for sideways movement.
  57.  
  58. You can DELETE the complete row of data at the cursor
  59. using either CTRL X or SHIFT/CTRL/COPY.
  60.  
  61. You can insert a blank row using SHIFT/CTRL/INSERT, with
  62. the data from the current line being all moved down one
  63. row. If all the rows already have data in them, the last
  64. row of data will be lost.
  65.  
  66. Function key F3 will bring up the "save as" dialogue
  67. box, except when a chart is displayed, when the "save
  68. drawfile" box will be displayed instead.
  69.  
  70. Function key "Print" will print the chart (if the edit
  71. window has input focus).
  72.  
  73. ************************************************************
  74.  
  75. WARNING: All the editing is carried out on strings of
  76. characters. These strings are converted to numerical values
  77. only when the charts are drawn. The application does not
  78. check these strings for non-numerical content before it
  79. converts using the VAL function. It is up to the user to
  80. check the data entered for mis-typing etc.
  81.  
  82. **********************************************************
  83.  
  84. The Iconbar Menu
  85. ----------------
  86.  
  87. This provides the standard information window, an
  88. opportunity to QUIT the application, and a dialogue box
  89. to set a range of default preferences, which can be
  90. saved in the application and will be reloaded at
  91. startup.
  92.  
  93. The Edit window menu
  94. --------------------
  95.  
  96. Clicking the menu button on the edit window will allow six
  97. choices.
  98.  
  99. Clear data
  100. ----------
  101. This will clear the data (screen display and memory buffer)
  102. ready to begin entering the data for a new chart (NB. Once
  103. its gone its gone!!!).
  104.  
  105. Save file
  106. ---------
  107. This acts in the standard RISC OS way. You can enter a file
  108. name and drag the save icon to an open directory viewer, or
  109. if the full path name is set up (e.g. the data was loaded
  110. from disk) then it is necessary only to click on OK. When
  111. data is saved to disk it is given a defined filetype so that
  112. the application is able to recognise datafiles to load back
  113. in. The filetype number is easily changed if it clashes with
  114. any other application filetypes.
  115.  
  116. Note that there are some differences between this later
  117. version of ChartDraw and the previous release. The label
  118. text is not now saved as part of the data file and so the
  119. new files are not compatible with the old.
  120.  
  121. Pie Charts / Line Graphs / Stacked Bars / Grouped Bars
  122. ------------------------------------------------------
  123. These options cause the plotting of the chosen type of
  124. chart. In the case of the piechart, a sub-menu allows you to
  125. choose between plotting a single large pie, or up to four
  126. small ones. Line graphs and grouped bargraphs also allow a
  127. similar choice of one or all of the data sets, but stacked
  128. bargraphs always uses all the data sets.
  129.  
  130.  
  131.  
  132. Chart window menus
  133. ==================
  134.  
  135. Once a chart has been drawn, clicking on its window with the
  136. menu button will present a number of choices. Some of these
  137. are common to all charts, others are specific to a
  138. particular type of chart. All the actions are summarised
  139. below.
  140.  
  141. Common choices
  142. ==============
  143.  
  144. Pie Charts / Line Graphs / Stacked Bars / Grouped Bars
  145. ======================================================
  146.  
  147. Some actions are fairly clear. It is possible to replot the
  148. chart in an alternative form by choosing the new chart
  149. format. If pie charts, line graphs or grouped barcharts are
  150. chosen, then you may again choose to plot one or all of the
  151. sets. The barcharts can be toggled between vertical and
  152. horizontal bars as the user wishes. In release one of this
  153. program it was possible to use hatched fills as well as
  154. solid fills. Since the draw module, which is used in this
  155. new version for all plotting, does not support hatched
  156. filling, this facility has now been removed. If users feel
  157. especially agrieved at this, then I will consider
  158. reintroducing it, but screen redraws would probably become
  159. very lethargic.
  160.  
  161. Print chart
  162. -----------
  163. Selecting this option will print the chart directly, using
  164. whichever printer driver is installed. Note that either the
  165. !printerDM or !printerPS must be installed on the iconbar
  166. before hardcopy can be obtained. The printed output should
  167. be the whole chart as displayed on the screen, but without
  168. any window borders etc. 
  169.  
  170. Make Drawfile
  171. -------------
  172. This option will allow a copy of the chart to be output to
  173. disc as a draw file, which can subsequently be loaded into
  174. !Draw to allow additional annotation or various enhancements
  175. to be undertaken. The modified chart may then be printed
  176. from !Draw in the normal way.
  177.  
  178. This option leads to a standard "save as" dialogue box, and
  179. the file may be saved in any of the normal RISC-OS ways,
  180. i.e. by dragging the icon to a directory display, or, if the
  181. full path name is set up, by simply clicking on OK.
  182.  
  183. Add Label
  184. ---------
  185. The labels option is one way in which extra annotation can
  186. be added to the charts. You can add a maximum of TEN labels.
  187. When you choose "add label" from the graphic menu, a
  188. writable icon box will appear near the top of the screen (Do
  189. not panic if it appears to overwrite part of the chart). You
  190. can add the label text up to a maximum of forty characters.
  191. When you press <RETURN> the text is converted to a writable
  192. icon. This icon can be dragged to anywhere in the graph
  193. window for positioning. If you later click on the text with
  194. SELECT a caret appears and the text may be edited in the
  195. usual manner. If the text becomes longer than it was before,
  196. it will scroll out of view as with many writable icons -
  197. never fear - when you press <RETURN> the icon will be
  198. replotted and all the text will become visible.
  199.  
  200. If you click MENU on the label text, rather than on the
  201. general window area, then a menu will appear giving four
  202. options.
  203.  
  204. BORDER will toggle a border on/off around the text
  205.  
  206. FILL will toggle the solid background on/off (useful if the
  207. label overlays part of the chart)
  208.  
  209. DELETE is self explanatory. However, note that it is
  210. preferable to simply edit the text even if you wish to
  211. change it completely, rather than to keep deleting and
  212. recreating labels, since the program has limited storage for
  213. the label text, and it cannot always reclaim the space when
  214. a label is deleted.
  215.  
  216. VERTICAL will toggle the label between normal and reading
  217. vertically down. NOTE (1) Fill is inhibited for a vertical
  218. label as the text is deleted when the icon is redrawn with a
  219. filled background (This is due to the order in which the
  220. WIMP manager plots various parts of the window. I have not
  221. found any way around this yet). NOTE(2) In order to edit the
  222. text of a vertical label you must first convert back to
  223. horizontal by choosing vertical again, edit the text and
  224. then go back to vertical. This is again a function of the
  225. way in which RISC OS deals with text icons (I have not found
  226. a way to let the WIMP itself write vertical text in icons).
  227.  
  228. Note that, unlike the earlier release, there are no longer
  229. separate sets of labels for each type of graph. However this
  230. is not a great disadvantage as the labels can be moved
  231. around and edited so easily.
  232.  
  233. Line and Bar Charts only
  234. ========================
  235.  
  236. Change Axes
  237. -----------
  238. When a chart is first plotted the program selects
  239. automatically the range of the axes and the size of the
  240. index marks along the axis. For barcharts, it is assumed
  241. that the origin (zero) should be included in the graph,
  242. whereas the line graph is simply plotted over the range of
  243. values. The program chooses round numbers for the range and
  244. indexing along the axes (e.g. a full scale of 2000 rather
  245. than 1922.5, with indexing at 400, rather than 384.5?). The
  246. change axes option allows the user to override to some
  247. extent the program choice, although the algorithm is not
  248. completely overriden, in that round numbers close to the
  249. user entered values may be chosen rather than the exact
  250. values entered! Piecharts always add up to 100%, so there is
  251. no need for any user choice.
  252.  
  253. Piecharts Only
  254. ==============
  255.  
  256. In the piechart menu, choosing segments allows one or all
  257. segments to be `exploded' or returned to normal. If the
  258. selection is for one segment, then when the menu clears,
  259. clicking SELECT on a particular segment will explode (or
  260. return) that segment. If there is more than one piechart on
  261. screen, then the corresponding segment in each pie will be
  262. exploded or returned. More than one segment can be exploded
  263. by choosing one segment from the menu as many times as
  264. necessary, and clicking on a different segment each time.
  265. All the segments may be exploded at once or all returned to
  266. normal by choosing explode all or return all as appropriate,
  267. the action occurring immediately. When clicking to mark a
  268. particular segment for canceling, click in the inner half of
  269. the segment to ensure the click is always registered.
  270.  
  271. Bar Graphs Only
  272. ===============
  273.  
  274. Vertical or Horizontal
  275. ----------------------
  276. This action is self explanatory, the chart may be toggled
  277. between vertical and horizontal format bars.
  278.  
  279.  
  280. Loading of data files
  281. =====================
  282.  
  283. The application can be started up by simply double clicking
  284. on a data file of the correct type. A window is opened and
  285. the data is displayed within the edit window, ready for
  286. editing or printing. Data can also be loaded in all the
  287. other WIMP ways, i.e. drag the file into an already open
  288. edit window or drag the file to the application icon on the
  289. iconbar. The application will ignore any file that is not of
  290. the correct type.
  291.  
  292.  
  293. ************************************************************
  294.  
  295. Note that files are now saved in ASCII format and are
  296. therefore often much shorter than before. Old style
  297. files will be recognised and loaded as before, but if
  298. resaved will be in the new format.
  299.  
  300. *************************************************************
  301.  
  302.  
  303. The software referred to in these notes is NOT placed into
  304. the  public domain, but remains the copyright of the author,
  305. Chris Johnson. It is released for distribution by Norwich
  306. Computer Services under their Shareware/Careware scheme
  307. only, and should not be posted on bulletin boards or
  308. circulated on any public domain software discs, except by
  309. prior and express agreement with the author, or with Norwich
  310. Computer Services.
  311.  
  312. Anyone obtaining this software by any means other than
  313. direct purchase from Norwich Computer Services, or from the
  314. author, and making use of the software other than for trial
  315. purposes, is requested to register with the author by
  316. sending £3 (most of which will find its way to an approved
  317. charity). All users registering directly with the author
  318. will be informed from time to time of any significant
  319. improvements or 'bug' fixes and will be entitled to
  320. upgraded versions of the software free of charge by
  321. sending a blank disc.
  322.  
  323. The software is supplied as is, and no warranty, either
  324. express or implied, is given as to the suitability of the
  325. software for any purpose.
  326.  
  327. Notwithstanding the above, the author would, of course, be
  328. interested in hearing of any 'bugs' or any  other unexpected
  329. features, and will endeavour to correct any such 'bugs' so
  330. reported in any future issues of this software. Suggestions
  331. for improved features are also most welcome. Implementation
  332. of suggestions depends of course on practicability and more
  333. importantly, the authors spare time (I do have a full time
  334. job!).
  335.  
  336. If you have any comments on this program, or would like to
  337. suggest ways in which it could be improved then the author
  338. can be contacted directly.
  339.  
  340. Chris Johnson
  341. 7 Lovedale Grove
  342. Balerno
  343. Edinburgh
  344. EH14 7DR
  345.  
  346. If you have access to JANET then try
  347.  
  348.      checaj@uk.ac.hw.clust
  349.  
  350. If you wish to enter into the 'shareware' concept in the
  351. full  sense then registrations (>=£3) will be gratefully
  352. received by the  author.
  353.  
  354. If, in any communication, you make specific reference to the 
  355. program code, then please
  356.  
  357.       (a) quote the version number and date
  358.  
  359.       (b) refer only to the program as issued.
  360.  
  361.       (c) supply as many details as possible about the
  362.           problem, and indicate the hardware configuration of
  363.           the machine being used.
  364.  
  365. PLEASE SEND A STAMPED AND SELF ADDRESSED ENVELOPE IF YOU
  366. REQUIRE A REPLY.
  367.  
  368. Notwithstanding all the above I hope you find the program of
  369. some use.
  370.  
  371. CafJ 19/3/1992
  372.