Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
3400_how_to:0300_charts [2026/08/13 03:53] – external edit 127.0.0.13400_how_to:0300_charts [2026/08/13 07:43] (current) – Imported by DokuWiki Advanced Plugin aware_support3
Line 1: Line 1:
 ====== Charts ====== ====== Charts ======
  
-{{simplenavi>.:0300_charts}}+===== How to ... =====
  
-<accordion id="charts" collapsed="true">+<accordion autoclose>
  
-<panel type="primary" title="show charts">+<anchor id="show_charts"
 +<accordion-item title="show charts">
 The best way to show charts is to define a query that would retrieve data for charts and then select “Chart” as the presentation option for this query. This is explained in the “[[2500_config_apps:1100_add_edit_queries:0200_display_results|Displaying Query Results]]” section. The query should find instances of objects whose attributes provide data values for the X and Y-axis of the chart. Charts displayed this way will be dynamic – the user will be able to see the values of the points on the chart as he hovers the mouse over the data. He will also be able to click on the chart and start some operation (that you can define). The best way to show charts is to define a query that would retrieve data for charts and then select “Chart” as the presentation option for this query. This is explained in the “[[2500_config_apps:1100_add_edit_queries:0200_display_results|Displaying Query Results]]” section. The query should find instances of objects whose attributes provide data values for the X and Y-axis of the chart. Charts displayed this way will be dynamic – the user will be able to see the values of the points on the chart as he hovers the mouse over the data. He will also be able to click on the chart and start some operation (that you can define).
  
 It is also possible to define charts in presentation and reports. Such charts will be displayed as static images. It is also possible to define charts in presentation and reports. Such charts will be displayed as static images.
-</panel>+</accordion-item>
  
-<panel type="primary" title="add Gantt chart to your application">+<anchor id="add_gantt_chart_to_your_application"
 +<accordion-item title="add Gantt chart to your application">
 To add support for Gantt chart in your application you need to do the following: To add support for Gantt chart in your application you need to do the following:
  
Line 23: Line 25:
 Finally you need to define a query to find task objects and display them as a Gantt chart. When a query looks for task objects //**AwareIM**// will automatically enable the Gantt option in the Display options of the query. You can then specify properties of the Gantt chart that you want to show. The Gantt chart will automatically include all dependencies related to the tasks. Finally you need to define a query to find task objects and display them as a Gantt chart. When a query looks for task objects //**AwareIM**// will automatically enable the Gantt option in the Display options of the query. You can then specify properties of the Gantt chart that you want to show. The Gantt chart will automatically include all dependencies related to the tasks.
  
-{{page>:5000_videos:320_gantt_charts&noheader}}+{{page>:5000_videos:320_gantt_charts&noheader&inline}}
 . .
-</panel>+</accordion-item>
  
-<panel type="primary" title="use charts in reports">+<anchor id="use_charts_in_reports"
 +<accordion-item title="use charts in reports">
 You can either use “chart report elements” or use images of online charts. For the description of the chart report elements please refer to the documentation of [[2000_concepts:0900_prod_feats:0200_working_with_docs_reports|reports]]. To use images of online charts in your reports or documents do the following: You can either use “chart report elements” or use images of online charts. For the description of the chart report elements please refer to the documentation of [[2000_concepts:0900_prod_feats:0200_working_with_docs_reports|reports]]. To use images of online charts in your reports or documents do the following:
  
Line 36: Line 39:
   - Write a process that will save the image of the chart in this attribute using the ''[[ref:a_f:a:save_screen|SAVE SCREEN]]'' action and display the document template, for example:<code aim>SAVE SCREEN 'my chart id' TO MyObject.ChartImage   - Write a process that will save the image of the chart in this attribute using the ''[[ref:a_f:a:save_screen|SAVE SCREEN]]'' action and display the document template, for example:<code aim>SAVE SCREEN 'my chart id' TO MyObject.ChartImage
 DISPLAY DOCUMENT 'My template using chart image' </code> DISPLAY DOCUMENT 'My template using chart image' </code>
-</panel>+</accordion-item>
  
 </accordion> </accordion>