home *** CD-ROM | disk | FTP | other *** search
/ Really Useful CD 1 / ReallyUsefulCD1.iso / extras / graphics / _chartdraw / _help next >
Encoding:
Text File  |  1989-10-14  |  7.8 KB  |  177 lines

  1.  
  2. !Chartdraw (v. 1.00)
  3. --------------------
  4.  
  5. by Chris Johnson.
  6.  
  7. This fully multi-tasking application allows the production of a range
  8. of charts from data that can be entered and edited. The program plots
  9. line graphs, stacked and grouped barcharts and piegraphs. The current
  10. implementation allows only 2D-representations, although it should be a
  11. not too difficult task to modify the code to give 3D-plotting.
  12.  
  13. Clicking on the !chartdraw directory installs the application on the
  14. icon bar. Clicking on the icon opens a scrolling edit window into
  15. which the data to be displayed can be entered. Labels to append to the
  16. axes etc. are also entered. Loading in one of the demonstration data
  17. files should show how the edit window operates.
  18.  
  19. If the program is newly started, or any previous data has been
  20. cleared, then the edit grid will be empty. If the program has been
  21. used previously, any data already entered will be displayed. Text
  22. labels can be entered into the boxes as required. The caret can be
  23. placed anywhere using the mouse. Pressing return will automatically
  24. move the caret into the next box of the edit window (the caret need
  25. not be at the right hand end of the text) with automatic scrolling as
  26. necessary. All editing is carried out in the standard fashion of the
  27. RISC OS WIMP environment. When editing, it is NOT necessary to press
  28. <RETURN> for the changes to be implemented (some applications require
  29. <RETURN> to be pressed before changes are actually made).
  30.  
  31.       WARNING: All the editing is carried out on strings of
  32.       characters. These strings are converted to numerical values
  33.       when the charts are drawn. The application does not check
  34.       these strings for non-numerical content before it converts
  35.       using the VAL function. It is up to the user to check the
  36.       data entered for mis-typing etc.
  37.  
  38.  
  39. Clicking the menu button on the edit window will allow six choices.
  40.  
  41. Clear
  42. -----
  43.       This will clear the data (screen display and memory
  44.       buffer) ready to begin entering the data for a new
  45.       chart (NB. Once its gone its gone!!!).
  46.  
  47. Save
  48. ----
  49.       This acts in the standard RISC OS way. You can enter a file name
  50.       and drag the save icon to an open directory viewer, or if the
  51.       full path name is set up (eg. the data was loaded from disk)
  52.       then it is necessary only to click on OK. When data is saved to
  53.       disk it is given a user defined filetype so that the application
  54.       is able to recognise datafiles to load back in. The filetype
  55.       number is easily changed if it clashes with any other
  56.       application filetypes.
  57.  
  58. Piechart/Linegraph/Bargraphs
  59. -----------------------------
  60.       These options cause the plotting of the chosen type of chart. In
  61.       the case of the piechart, a dialogue is first initiated to
  62.       choose between plotting a single large pie, or up to four small
  63.       ones.
  64.  
  65.  
  66. Chart window menus
  67. ==================
  68.  
  69. Once a chart has been drawn, clicking on its window with the menu
  70. button will present a number of choices. Some of these are common to
  71. all charts, others are more specific. All the actions are summarised
  72. below.
  73.  
  74. Some actions are fairly clear. It is possible to replot the chart in
  75. another form by choosing the new chart. If pie is chosen, then the
  76. dialogue box described above is first opened. For charts that use
  77. fills, then it is possible to toggle between solid fills and hatched
  78. patterns. The replotting is always impressive in its speed, although
  79. everything is in BASIC, with long variable names etc. The barcharts
  80. can be toggled between vertical and horizontal bars as the user
  81. wishes.
  82.  
  83. When the charts are plotted the program selects automatically the
  84. range of the axes and the size of the index marks along the axis. For
  85. barcharts, it is assumed that the origin (zero) should be included in
  86. the graph, whereas the linegraph is plotted over the range of values.
  87. The program chooses round numbers for the range and indexing along the
  88. axes (eg. a full scale of 2000 rather than 1922.5, with indexing at
  89. 400, rather than 384.5?). The change axes option allows the user to
  90. override to some extent the program choice, although the algorithm is
  91. not completely overriden, in that round numbers close to the user
  92. entered values may be chosen rather than the exact values entered!
  93. Piecharts always add up to 100%, so there is no need for any user
  94. choice.
  95.  
  96. The labels option is one way in which extra annotation can be added to
  97. the charts. The sub-menu allows the user to add a label or clear ALL
  98. labels for that particular chart. Choosing add will cause the menu to
  99. disappear. It is then necessary to click (with SELECT) on the chart at
  100. the position the label is to be added. A dialogue box will open
  101. allowing the label text to be entered, and the choice made whether the
  102. text is to the left of, centred on or to the right of the chosen
  103. position. It is also possible to choose vertical, when the text will
  104. run DOWN from the index position (eg. to label a y-axis). Pressing
  105. <RETURN> will clear the dialogue box and put the label in position.
  106. The program will accept up to twelve labels for each type of chart.
  107. The position and content of a label is remembered even if the graph
  108. window is closed and the data then replotted, or if a different style
  109. of chart is plotted. The current version of the software does not
  110. allow labels, once entered, to be edited, other than to delete them
  111. and start again (well it is cheap software!). The labels are saved and
  112. loaded along with the data, assuming you save the data AFTER they have
  113. been defined.
  114.  
  115. In the piechart menu, choosing segments allows one or all segments to
  116. be `exploded' or returned to normal. If the selection is for one
  117. segment, then when the menu clears, clicking SELECT on a particular
  118. segment will explode (or return) that segment. If there is more than
  119. one piechart on screen, then the corresponding segment in each pie
  120. will be exploded or returned. More than one segment can be exploded by
  121. choosing one segment from the menu as many times as necessary, and
  122. clicking on a different segment each time.
  123.  
  124. Save Screen - in this version selecting this option will cause the
  125. whole chart screen to be saved as a screen sprite. The filename is
  126. grafwinX, where X starts at 1 and increments each time a screen is
  127. saved. The value of X is reset to 1 when the program is QUIT and
  128. restarted. Old screen files will then be overwritten.
  129.  
  130. The grafwin file subsequently may be loaded into !paint or !edit for
  131. further editing or may be dragged to the !printerDM or !printerPS
  132. icons on the iconbar for hardcopy.
  133.  
  134. Loading of data files
  135. ---------------------
  136.  
  137. The application can be started up by simply double clicking on a data
  138. file of the correct type. A window is opened and the data is displayed
  139. within the keystrip grid, ready for editing or printing. Data can also
  140. be loaded in all the other WIMP ways, i.e. drag the file into an
  141. already open window or drag the file to the application icon on the
  142. iconbar. The application will ignore any file that is not of the
  143. correct type.
  144.  
  145. Example data files
  146. ------------------
  147.  
  148. A number of !chartdraw data files are on the disk in the directory
  149. CHARTDATA. Any of these can be loaded in for demonstration purposes.
  150.  
  151.  
  152.  
  153.  
  154. If you have any comments on this program, or would like to suggest
  155. ways in which it could be improved then the author can be contacted
  156. directly.
  157.  
  158. Chris Johnson
  159. 7 Lovedale Grove
  160. Balerno
  161. Edinburgh
  162. EH14 7DR
  163.  
  164. If you wish to enter into the `shareware' concept in the full sense
  165. then contributions, however small, will be gratefully received by the
  166. author. Registration would, of course, entitle the user to free
  167. upgrades of the software (send a blank disk).
  168.  
  169. If, in any communication, you make specific reference to the program
  170. code, then please (a) quote the version number (b) refer only to the
  171. program as issued and (c) do not renumber it. Please send an SAE if
  172. you require a reply.
  173.  
  174. I hope you find the program of some use.
  175.  
  176. CJ 12/10/1989
  177.