The application articles of owc are too many. I will not introduce them here.
One problem encountered today is that when owc is used to draw a picture, owc will automatically summarize it. The summary result is that there are 20 points on the X axis, and there are only 7 or 8 points after the summary, and the data is averaged in week Y. This feature is understandable, but sometimes, no matter how much data is on the X axis, I want it not to summarize itself (grouping), but the actual real data.
Is the data After grouping. In fact
It mainly sets the X axis parameters.
The following code provides objchart. Axes [0]. ticklabelunittype = This. xunittype;
Objchart. Axes [0]. groupingtype = This. xgrouping;
If (objchart. Axes [0]. groupingtype = chartaxisgroupingenum. chaxisgroupingmanual)
Objchart. Axes [0]. groupingunit = This. groupingunit;
If you set groupingtype to none, the grouping function is automatically called.
For owc information, please refer to
How to find the Office Web component (owc) programming documentation and Examples