CsfWebAccumulationChart » History » Version 4
Wil van Antwerpen, 01/07/2023 12:04 PM
1 | 1 | Wil van Antwerpen | # CsfWebAccumulationChart |
---|---|---|---|
2 | 1 | Wil van Antwerpen | |
3 | 1 | Wil van Antwerpen | |
4 | 2 | Wil van Antwerpen | ![](https://support.dataaccess.com/Forums/attachment.php?attachmentid=15864&d=1672532332) |
5 | 3 | Wil van Antwerpen | |
6 | 3 | Wil van Antwerpen | The code for the above looks like: |
7 | 3 | Wil van Antwerpen | |
8 | 3 | Wil van Antwerpen | ~~~ text |
9 | 3 | Wil van Antwerpen | |
10 | 3 | Wil van Antwerpen | |
11 | 3 | Wil van Antwerpen | Object oWebPieChart is a csfWebAccumulationChart |
12 | 3 | Wil van Antwerpen | Set piHeight to 400 |
13 | 3 | Wil van Antwerpen | Set piColumnSpan to 12 |
14 | 3 | Wil van Antwerpen | Set psTitle to "demo Pie Chart" |
15 | 3 | Wil van Antwerpen | Set pbTooltip to True |
16 | 3 | Wil van Antwerpen | //Object oBarArea is a csfWebChartArea |
17 | 3 | Wil van Antwerpen | // Set psBackground to "cornSilk" |
18 | 3 | Wil van Antwerpen | // //Set psBorderColor to "green" |
19 | 3 | Wil van Antwerpen | // //Set piBorderWidth to 2 |
20 | 3 | Wil van Antwerpen | //End_Object |
21 | 3 | Wil van Antwerpen | Object oDataSeries is a csfWebChartAccumulationSeries |
22 | 3 | Wil van Antwerpen | Set psInnerRadius to "40%" |
23 | 3 | Wil van Antwerpen | Set piStartAngle to 0 |
24 | 3 | Wil van Antwerpen | Set piEndAngle to 360 |
25 | 3 | Wil van Antwerpen | Set psSelectionMode to "Point" |
26 | 3 | Wil van Antwerpen | Set psName to "Revenue" |
27 | 3 | Wil van Antwerpen | Set pbDataLabelVisible to True // temporary hack (might change) |
28 | 3 | Wil van Antwerpen | Procedure OnAddChartData |
29 | 3 | Wil van Antwerpen | Send AddPoint "Net-tution" 21 "21%" |
30 | 3 | Wil van Antwerpen | Send AddPoint "Private Gifts" 8 "8%" |
31 | 3 | Wil van Antwerpen | Send AddPoint "All Other" 9 "9%" |
32 | 3 | Wil van Antwerpen | Send AddPoint "Local Revenue" 4 "4%" |
33 | 3 | Wil van Antwerpen | Send AddPoint "State Revenue" 21 "21%" |
34 | 3 | Wil van Antwerpen | Send AddPoint "Federal Revenue" 16 "16%" |
35 | 3 | Wil van Antwerpen | Send AddPoint "Self-supporting Operations" 21 "21%" |
36 | 3 | Wil van Antwerpen | End_Procedure |
37 | 3 | Wil van Antwerpen | End_Object |
38 | 3 | Wil van Antwerpen | End_Object |
39 | 3 | Wil van Antwerpen | |
40 | 3 | Wil van Antwerpen | |
41 | 3 | Wil van Antwerpen | ~~~ |
42 | 4 | Wil van Antwerpen | |
43 | 4 | Wil van Antwerpen | ## Synfusion direct links |
44 | 4 | Wil van Antwerpen | |
45 | 4 | Wil van Antwerpen | Documentation for the API is here: |
46 | 4 | Wil van Antwerpen | |
47 | 4 | Wil van Antwerpen | * https://ej2.syncfusion.com/documentation/api/accumulation-chart/overview/ |
48 | 4 | Wil van Antwerpen | |
49 | 4 | Wil van Antwerpen | Tips & tricks here: |
50 | 4 | Wil van Antwerpen | |
51 | 4 | Wil van Antwerpen | * https://ej2.syncfusion.com/javascript/documentation/accumulation-chart/es5-getting-started/ |
52 | 4 | Wil van Antwerpen | |
53 | 4 | Wil van Antwerpen | SyncFusion Chart control demo: |
54 | 4 | Wil van Antwerpen | |
55 | 4 | Wil van Antwerpen | * https://ej2.syncfusion.com/javascript/demos/#/material/chart/default-pie.html |