chart.py 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # -*- coding: utf-8 -*-
  2. # Copyright (C) 2006-2013 Søren Roug, European Environment Agency
  3. #
  4. # This library is free software; you can redistribute it and/or
  5. # modify it under the terms of the GNU Lesser General Public
  6. # License as published by the Free Software Foundation; either
  7. # version 2.1 of the License, or (at your option) any later version.
  8. #
  9. # This library is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. # Lesser General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU Lesser General Public
  15. # License along with this library; if not, write to the Free Software
  16. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. #
  18. # Contributor(s):
  19. #
  20. from __future__ import absolute_import
  21. from odf.namespaces import CHARTNS
  22. from odf.element import Element
  23. # Autogenerated
  24. def Axis(**args):
  25. return Element(qname = (CHARTNS,'axis'), **args)
  26. def Categories(**args):
  27. return Element(qname = (CHARTNS,'categories'), **args)
  28. def Chart(**args):
  29. return Element(qname = (CHARTNS,'chart'), **args)
  30. def DataLabel(**args):
  31. return Element(qname = (CHARTNS,'data-label'), **args)
  32. def DataPoint(**args):
  33. return Element(qname = (CHARTNS,'data-point'), **args)
  34. def Domain(**args):
  35. return Element(qname = (CHARTNS,'domain'), **args)
  36. def Equation(**args):
  37. return Element(qname = (CHARTNS,'equation'), **args)
  38. def ErrorIndicator(**args):
  39. return Element(qname = (CHARTNS,'error-indicator'), **args)
  40. def Floor(**args):
  41. return Element(qname = (CHARTNS,'floor'), **args)
  42. def Footer(**args):
  43. return Element(qname = (CHARTNS,'footer'), **args)
  44. def Grid(**args):
  45. return Element(qname = (CHARTNS,'grid'), **args)
  46. def LabelSeparator(**args):
  47. return Element(qname = (CHARTNS,'label-separator'), **args)
  48. def Legend(**args):
  49. return Element(qname = (CHARTNS,'legend'), **args)
  50. def MeanValue(**args):
  51. return Element(qname = (CHARTNS,'mean-value'), **args)
  52. def PlotArea(**args):
  53. return Element(qname = (CHARTNS,'plot-area'), **args)
  54. def RegressionCurve(**args):
  55. return Element(qname = (CHARTNS,'regression-curve'), **args)
  56. def Series(**args):
  57. return Element(qname = (CHARTNS,'series'), **args)
  58. def StockGainMarker(**args):
  59. return Element(qname = (CHARTNS,'stock-gain-marker'), **args)
  60. def StockLossMarker(**args):
  61. return Element(qname = (CHARTNS,'stock-loss-marker'), **args)
  62. def StockRangeLine(**args):
  63. return Element(qname = (CHARTNS,'stock-range-line'), **args)
  64. def Subtitle(**args):
  65. return Element(qname = (CHARTNS,'subtitle'), **args)
  66. def SymbolImage(**args):
  67. return Element(qname = (CHARTNS,'symbol-image'), **args)
  68. def Title(**args):
  69. return Element(qname = (CHARTNS,'title'), **args)
  70. def Wall(**args):
  71. return Element(qname = (CHARTNS,'wall'), **args)