langZH.js 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing,
  13. * software distributed under the License is distributed on an
  14. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. * KIND, either express or implied. See the License for the
  16. * specific language governing permissions and limitations
  17. * under the License.
  18. */
  19. /**
  20. * AUTO-GENERATED FILE. DO NOT MODIFY.
  21. */
  22. (function(root, factory) {
  23. if (typeof define === 'function' && define.amd) {
  24. // AMD. Register as an anonymous module.
  25. define(['exports', 'echarts'], factory);
  26. } else if (
  27. typeof exports === 'object' &&
  28. typeof exports.nodeName !== 'string'
  29. ) {
  30. // CommonJS
  31. factory(exports, require('echarts/lib/echarts'));
  32. } else {
  33. // Browser globals
  34. factory({}, root.echarts);
  35. }
  36. })(this, function(exports, echarts) {
  37. var localeObj = {
  38. time: {
  39. month: [
  40. '一月', '二月', '三月', '四月', '五月', '六月',
  41. '七月', '八月', '九月', '十月', '十一月', '十二月'
  42. ],
  43. monthAbbr: [
  44. '1月', '2月', '3月', '4月', '5月', '6月',
  45. '7月', '8月', '9月', '10月', '11月', '12月'
  46. ],
  47. dayOfWeek: [
  48. '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'
  49. ],
  50. dayOfWeekAbbr: [
  51. '日', '一', '二', '三', '四', '五', '六'
  52. ]
  53. },
  54. legend: {
  55. selector: {
  56. all: '全选',
  57. inverse: '反选'
  58. }
  59. },
  60. toolbox: {
  61. brush: {
  62. title: {
  63. rect: '矩形选择',
  64. polygon: '圈选',
  65. lineX: '横向选择',
  66. lineY: '纵向选择',
  67. keep: '保持选择',
  68. clear: '清除选择'
  69. }
  70. },
  71. dataView: {
  72. title: '数据视图',
  73. lang: ['数据视图', '关闭', '刷新']
  74. },
  75. dataZoom: {
  76. title: {
  77. zoom: '区域缩放',
  78. back: '区域缩放还原'
  79. }
  80. },
  81. magicType: {
  82. title: {
  83. line: '切换为折线图',
  84. bar: '切换为柱状图',
  85. stack: '切换为堆叠',
  86. tiled: '切换为平铺'
  87. }
  88. },
  89. restore: {
  90. title: '还原'
  91. },
  92. saveAsImage: {
  93. title: '保存为图片',
  94. lang: ['右键另存为图片']
  95. }
  96. },
  97. series: {
  98. typeNames: {
  99. pie: '饼图',
  100. bar: '柱状图',
  101. line: '折线图',
  102. scatter: '散点图',
  103. effectScatter: '涟漪散点图',
  104. radar: '雷达图',
  105. tree: '树图',
  106. treemap: '矩形树图',
  107. boxplot: '箱型图',
  108. candlestick: 'K线图',
  109. k: 'K线图',
  110. heatmap: '热力图',
  111. map: '地图',
  112. parallel: '平行坐标图',
  113. lines: '线图',
  114. graph: '关系图',
  115. sankey: '桑基图',
  116. funnel: '漏斗图',
  117. gauge: '仪表盘图',
  118. pictorialBar: '象形柱图',
  119. themeRiver: '主题河流图',
  120. sunburst: '旭日图',
  121. custom: '自定义图表',
  122. chart: '图表'
  123. }
  124. },
  125. aria: {
  126. general: {
  127. withTitle: '这是一个关于“{title}”的图表。',
  128. withoutTitle: '这是一个图表,'
  129. },
  130. series: {
  131. single: {
  132. prefix: '',
  133. withName: '图表类型是{seriesType},表示{seriesName}。',
  134. withoutName: '图表类型是{seriesType}。'
  135. },
  136. multiple: {
  137. prefix: '它由{seriesCount}个图表系列组成。',
  138. withName: '第{seriesId}个系列是一个表示{seriesName}的{seriesType},',
  139. withoutName: '第{seriesId}个系列是一个{seriesType},',
  140. separator: {
  141. middle: ';',
  142. end: '。'
  143. }
  144. }
  145. },
  146. data: {
  147. allData: '其数据是——',
  148. partialData: '其中,前{displayCnt}项是——',
  149. withName: '{name}的数据是{value}',
  150. withoutName: '{value}',
  151. separator: {
  152. middle: ',',
  153. end: ''
  154. }
  155. }
  156. }
  157. };
  158. echarts.registerLocale('ZH', localeObj);
  159. });