選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

PieChart.cs 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*************************************************************************************
  2. DocX – DocX is the community edition of Xceed Words for .NET
  3. Copyright (C) 2009-2016 Xceed Software Inc.
  4. This program is provided to you under the terms of the Microsoft Public
  5. License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
  6. For more features and fast professional support,
  7. pick up Xceed Words for .NET at https://xceed.com/xceed-words-for-net/
  8. ***********************************************************************************/
  9. using System;
  10. using System.Xml.Linq;
  11. namespace Xceed.Words.NET
  12. {
  13. /// <summary>
  14. /// This element contains the 2-D pie series for this chart.
  15. /// 21.2.2.141 pieChart (Pie Charts)
  16. /// </summary>
  17. public class PieChart : Chart
  18. {
  19. #region Overrides Properties
  20. public override Boolean IsAxisExist
  21. {
  22. get
  23. {
  24. return false;
  25. }
  26. }
  27. public override Int16 MaxSeriesCount
  28. {
  29. get
  30. {
  31. return 1;
  32. }
  33. }
  34. #endregion
  35. #region Overrides
  36. protected override XElement CreateChartXml()
  37. {
  38. return XElement.Parse(
  39. @"<c:pieChart xmlns:c=""http://schemas.openxmlformats.org/drawingml/2006/chart"">
  40. </c:pieChart>" );
  41. }
  42. #endregion
  43. }
  44. }