@nativescript-community/ui-chart 2.0.5 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/package.json +3 -3
  2. package/animation/ChartAnimator.d.ts +0 -61
  3. package/animation/ChartAnimator.js +0 -95
  4. package/animation/ChartAnimator.js.map +0 -1
  5. package/animation/Tween.d.ts +0 -4
  6. package/animation/Tween.js +0 -25
  7. package/animation/Tween.js.map +0 -1
  8. package/buffer/AbstractBuffer.d.ts +0 -40
  9. package/buffer/AbstractBuffer.js +0 -49
  10. package/buffer/AbstractBuffer.js.map +0 -1
  11. package/buffer/BarBuffer.d.ts +0 -15
  12. package/buffer/BarBuffer.js +0 -109
  13. package/buffer/BarBuffer.js.map +0 -1
  14. package/buffer/HorizontalBarBuffer.d.ts +0 -6
  15. package/buffer/HorizontalBarBuffer.js +0 -81
  16. package/buffer/HorizontalBarBuffer.js.map +0 -1
  17. package/charts/BarChart.d.ts +0 -94
  18. package/charts/BarChart.js +0 -141
  19. package/charts/BarChart.js.map +0 -1
  20. package/charts/BarLineChartBase.d.ts +0 -592
  21. package/charts/BarLineChartBase.js +0 -1253
  22. package/charts/BarLineChartBase.js.map +0 -1
  23. package/charts/BubbleChart.d.ts +0 -27
  24. package/charts/BubbleChart.js +0 -20
  25. package/charts/BubbleChart.js.map +0 -1
  26. package/charts/CandleStickChart.d.ts +0 -29
  27. package/charts/CandleStickChart.js +0 -19
  28. package/charts/CandleStickChart.js.map +0 -1
  29. package/charts/Chart.d.ts +0 -491
  30. package/charts/Chart.js +0 -778
  31. package/charts/Chart.js.map +0 -1
  32. package/charts/CombinedChart.d.ts +0 -78
  33. package/charts/CombinedChart.js +0 -119
  34. package/charts/CombinedChart.js.map +0 -1
  35. package/charts/HorizontalBarChart.d.ts +0 -54
  36. package/charts/HorizontalBarChart.js +0 -180
  37. package/charts/HorizontalBarChart.js.map +0 -1
  38. package/charts/LineChart.d.ts +0 -20
  39. package/charts/LineChart.js +0 -19
  40. package/charts/LineChart.js.map +0 -1
  41. package/charts/PieChart.d.ts +0 -249
  42. package/charts/PieChart.js +0 -468
  43. package/charts/PieChart.js.map +0 -1
  44. package/charts/PieRadarChartBase.d.ts +0 -130
  45. package/charts/PieRadarChartBase.js +0 -360
  46. package/charts/PieRadarChartBase.js.map +0 -1
  47. package/charts/RadarChart.d.ts +0 -101
  48. package/charts/RadarChart.js +0 -181
  49. package/charts/RadarChart.js.map +0 -1
  50. package/charts/ScatterChart.d.ts +0 -36
  51. package/charts/ScatterChart.js +0 -31
  52. package/charts/ScatterChart.js.map +0 -1
  53. package/charts/index.d.ts +0 -9
  54. package/charts/index.js +0 -10
  55. package/charts/index.js.map +0 -1
  56. package/components/AxisBase.d.ts +0 -299
  57. package/components/AxisBase.js +0 -351
  58. package/components/AxisBase.js.map +0 -1
  59. package/components/ComponentBase.d.ts +0 -60
  60. package/components/ComponentBase.js +0 -77
  61. package/components/ComponentBase.js.map +0 -1
  62. package/components/Description.d.ts +0 -22
  63. package/components/Description.js +0 -21
  64. package/components/Description.js.map +0 -1
  65. package/components/IMarker.d.ts +0 -39
  66. package/components/IMarker.js +0 -2
  67. package/components/IMarker.js.map +0 -1
  68. package/components/Legend.d.ts +0 -198
  69. package/components/Legend.js +0 -386
  70. package/components/Legend.js.map +0 -1
  71. package/components/LegendEntry.d.ts +0 -50
  72. package/components/LegendEntry.js +0 -51
  73. package/components/LegendEntry.js.map +0 -1
  74. package/components/LimitLine.d.ts +0 -55
  75. package/components/LimitLine.js +0 -62
  76. package/components/LimitLine.js.map +0 -1
  77. package/components/MarkerImage.d.ts +0 -1
  78. package/components/MarkerImage.js +0 -97
  79. package/components/MarkerImage.js.map +0 -1
  80. package/components/XAxis.d.ts +0 -55
  81. package/components/XAxis.js +0 -59
  82. package/components/XAxis.js.map +0 -1
  83. package/components/YAxis.d.ts +0 -135
  84. package/components/YAxis.js +0 -205
  85. package/components/YAxis.js.map +0 -1
  86. package/data/BarData.d.ts +0 -38
  87. package/data/BarData.js +0 -122
  88. package/data/BarData.js.map +0 -1
  89. package/data/BarDataSet.d.ts +0 -47
  90. package/data/BarDataSet.js +0 -109
  91. package/data/BarDataSet.js.map +0 -1
  92. package/data/BarEntry.d.ts +0 -11
  93. package/data/BarEntry.js +0 -2
  94. package/data/BarEntry.js.map +0 -1
  95. package/data/BarLineScatterCandleBubbleData.d.ts +0 -10
  96. package/data/BarLineScatterCandleBubbleData.js +0 -9
  97. package/data/BarLineScatterCandleBubbleData.js.map +0 -1
  98. package/data/BarLineScatterCandleBubbleDataSet.d.ts +0 -17
  99. package/data/BarLineScatterCandleBubbleDataSet.js +0 -18
  100. package/data/BarLineScatterCandleBubbleDataSet.js.map +0 -1
  101. package/data/BaseDataSet.d.ts +0 -180
  102. package/data/BaseDataSet.js +0 -220
  103. package/data/BaseDataSet.js.map +0 -1
  104. package/data/BaseEntry.d.ts +0 -10
  105. package/data/BaseEntry.js +0 -2
  106. package/data/BaseEntry.js.map +0 -1
  107. package/data/BubbleData.d.ts +0 -12
  108. package/data/BubbleData.js +0 -15
  109. package/data/BubbleData.js.map +0 -1
  110. package/data/BubbleDataSet.d.ts +0 -18
  111. package/data/BubbleDataSet.js +0 -36
  112. package/data/BubbleDataSet.js.map +0 -1
  113. package/data/BubbleEntry.d.ts +0 -5
  114. package/data/BubbleEntry.js +0 -2
  115. package/data/BubbleEntry.js.map +0 -1
  116. package/data/CandleData.d.ts +0 -5
  117. package/data/CandleData.js +0 -4
  118. package/data/CandleData.js.map +0 -1
  119. package/data/CandleDataSet.d.ts +0 -76
  120. package/data/CandleDataSet.js +0 -116
  121. package/data/CandleDataSet.js.map +0 -1
  122. package/data/CandleEntry.d.ts +0 -11
  123. package/data/CandleEntry.js +0 -2
  124. package/data/CandleEntry.js.map +0 -1
  125. package/data/ChartData.d.ts +0 -320
  126. package/data/ChartData.js +0 -702
  127. package/data/ChartData.js.map +0 -1
  128. package/data/CombinedData.d.ts +0 -61
  129. package/data/CombinedData.js +0 -153
  130. package/data/CombinedData.js.map +0 -1
  131. package/data/DataSet.d.ts +0 -98
  132. package/data/DataSet.js +0 -424
  133. package/data/DataSet.js.map +0 -1
  134. package/data/Entry.d.ts +0 -3
  135. package/data/Entry.js +0 -2
  136. package/data/Entry.js.map +0 -1
  137. package/data/LineData.d.ts +0 -10
  138. package/data/LineData.js +0 -9
  139. package/data/LineData.js.map +0 -1
  140. package/data/LineDataSet.d.ts +0 -106
  141. package/data/LineDataSet.js +0 -153
  142. package/data/LineDataSet.js.map +0 -1
  143. package/data/LineRadarDataSet.d.ts +0 -32
  144. package/data/LineRadarDataSet.js +0 -29
  145. package/data/LineRadarDataSet.js.map +0 -1
  146. package/data/LineScatterCandleRadarDataSet.d.ts +0 -36
  147. package/data/LineScatterCandleRadarDataSet.js +0 -44
  148. package/data/LineScatterCandleRadarDataSet.js.map +0 -1
  149. package/data/PieData.d.ts +0 -39
  150. package/data/PieData.js +0 -55
  151. package/data/PieData.js.map +0 -1
  152. package/data/PieDataSet.d.ts +0 -52
  153. package/data/PieDataSet.js +0 -54
  154. package/data/PieDataSet.js.map +0 -1
  155. package/data/PieEntry.d.ts +0 -7
  156. package/data/PieEntry.js +0 -2
  157. package/data/PieEntry.js.map +0 -1
  158. package/data/RadarData.d.ts +0 -17
  159. package/data/RadarData.js +0 -15
  160. package/data/RadarData.js.map +0 -1
  161. package/data/RadarDataSet.d.ts +0 -14
  162. package/data/RadarDataSet.js +0 -20
  163. package/data/RadarDataSet.js.map +0 -1
  164. package/data/RadarEntry.d.ts +0 -3
  165. package/data/RadarEntry.js +0 -2
  166. package/data/RadarEntry.js.map +0 -1
  167. package/data/ScatterData.d.ts +0 -9
  168. package/data/ScatterData.js +0 -17
  169. package/data/ScatterData.js.map +0 -1
  170. package/data/ScatterDataSet.d.ts +0 -40
  171. package/data/ScatterDataSet.js +0 -61
  172. package/data/ScatterDataSet.js.map +0 -1
  173. package/formatter/DefaultAxisValueFormatter.d.ts +0 -23
  174. package/formatter/DefaultAxisValueFormatter.js +0 -30
  175. package/formatter/DefaultAxisValueFormatter.js.map +0 -1
  176. package/formatter/DefaultFillFormatter.d.ts +0 -6
  177. package/formatter/DefaultFillFormatter.js +0 -29
  178. package/formatter/DefaultFillFormatter.js.map +0 -1
  179. package/formatter/DefaultValueFormatter.d.ts +0 -3
  180. package/formatter/DefaultValueFormatter.js +0 -4
  181. package/formatter/DefaultValueFormatter.js.map +0 -1
  182. package/formatter/IAxisValueFormatter.d.ts +0 -23
  183. package/formatter/IAxisValueFormatter.js +0 -2
  184. package/formatter/IAxisValueFormatter.js.map +0 -1
  185. package/formatter/IFillFormatter.d.ts +0 -30
  186. package/formatter/IFillFormatter.js +0 -2
  187. package/formatter/IFillFormatter.js.map +0 -1
  188. package/formatter/IValueFormatter.d.ts +0 -25
  189. package/formatter/IValueFormatter.js +0 -2
  190. package/formatter/IValueFormatter.js.map +0 -1
  191. package/formatter/ValueFormatter.d.ts +0 -81
  192. package/formatter/ValueFormatter.js +0 -90
  193. package/formatter/ValueFormatter.js.map +0 -1
  194. package/highlight/BarHighlighter.d.ts +0 -33
  195. package/highlight/BarHighlighter.js +0 -89
  196. package/highlight/BarHighlighter.js.map +0 -1
  197. package/highlight/ChartHighlighter.d.ts +0 -102
  198. package/highlight/ChartHighlighter.js +0 -220
  199. package/highlight/ChartHighlighter.js.map +0 -1
  200. package/highlight/CombinedHighlighter.d.ts +0 -17
  201. package/highlight/CombinedHighlighter.js +0 -59
  202. package/highlight/CombinedHighlighter.js.map +0 -1
  203. package/highlight/Highlight.d.ts +0 -69
  204. package/highlight/Highlight.js +0 -8
  205. package/highlight/Highlight.js.map +0 -1
  206. package/highlight/HorizontalBarHighlighter.d.ts +0 -10
  207. package/highlight/HorizontalBarHighlighter.js +0 -54
  208. package/highlight/HorizontalBarHighlighter.js.map +0 -1
  209. package/highlight/IHighlighter.d.ts +0 -15
  210. package/highlight/IHighlighter.js +0 -2
  211. package/highlight/IHighlighter.js.map +0 -1
  212. package/highlight/PieHighlighter.d.ts +0 -9
  213. package/highlight/PieHighlighter.js +0 -21
  214. package/highlight/PieHighlighter.js.map +0 -1
  215. package/highlight/PieRadarHighlighter.d.ts +0 -25
  216. package/highlight/PieRadarHighlighter.js +0 -33
  217. package/highlight/PieRadarHighlighter.js.map +0 -1
  218. package/highlight/RadarHighlighter.d.ts +0 -20
  219. package/highlight/RadarHighlighter.js +0 -59
  220. package/highlight/RadarHighlighter.js.map +0 -1
  221. package/index.d.ts +0 -11
  222. package/index.js +0 -15
  223. package/index.js.map +0 -1
  224. package/interfaces/dataprovider/BarDataProvider.d.ts +0 -9
  225. package/interfaces/dataprovider/BarLineScatterCandleBubbleDataProvider.d.ts +0 -19
  226. package/interfaces/dataprovider/BubbleDataProvider.d.ts +0 -6
  227. package/interfaces/dataprovider/CandleDataProvider.d.ts +0 -6
  228. package/interfaces/dataprovider/ChartInterface.d.ts +0 -60
  229. package/interfaces/dataprovider/CombinedDataProvider.d.ts +0 -13
  230. package/interfaces/dataprovider/LineDataProvider.d.ts +0 -9
  231. package/interfaces/dataprovider/ScatterDataProvider.d.ts +0 -6
  232. package/interfaces/datasets/IBarDataSet.d.ts +0 -47
  233. package/interfaces/datasets/IBarLineScatterCandleBubbleDataSet.d.ts +0 -12
  234. package/interfaces/datasets/IBubbleDataSet.d.ts +0 -19
  235. package/interfaces/datasets/ICandleDataSet.d.ts +0 -81
  236. package/interfaces/datasets/IDataSet.d.ts +0 -385
  237. package/interfaces/datasets/ILineDataSet.d.ts +0 -67
  238. package/interfaces/datasets/ILineRadarDataSet.d.ts +0 -35
  239. package/interfaces/datasets/ILineScatterCandleRadarDataSet.d.ts +0 -32
  240. package/interfaces/datasets/IPieDataSet.d.ts +0 -49
  241. package/interfaces/datasets/IRadarDataSet.d.ts +0 -21
  242. package/interfaces/datasets/IScatterDataSet.d.ts +0 -37
  243. package/jobs/AnimatedMoveViewJob.d.ts +0 -15
  244. package/jobs/AnimatedMoveViewJob.js +0 -42
  245. package/jobs/AnimatedMoveViewJob.js.map +0 -1
  246. package/jobs/AnimatedViewPortJob.d.ts +0 -31
  247. package/jobs/AnimatedViewPortJob.js +0 -52
  248. package/jobs/AnimatedViewPortJob.js.map +0 -1
  249. package/jobs/AnimatedZoomJob.d.ts +0 -23
  250. package/jobs/AnimatedZoomJob.js +0 -63
  251. package/jobs/AnimatedZoomJob.js.map +0 -1
  252. package/jobs/MoveViewJob.d.ts +0 -14
  253. package/jobs/MoveViewJob.js +0 -36
  254. package/jobs/MoveViewJob.js.map +0 -1
  255. package/jobs/ViewPortJob.d.ts +0 -13
  256. package/jobs/ViewPortJob.js +0 -14
  257. package/jobs/ViewPortJob.js.map +0 -1
  258. package/jobs/ZoomJob.d.ts +0 -15
  259. package/jobs/ZoomJob.js +0 -48
  260. package/jobs/ZoomJob.js.map +0 -1
  261. package/listener/BarLineChartTouchListener.d.ts +0 -187
  262. package/listener/BarLineChartTouchListener.js +0 -544
  263. package/listener/BarLineChartTouchListener.js.map +0 -1
  264. package/listener/ChartTouchListener.d.ts +0 -69
  265. package/listener/ChartTouchListener.js +0 -81
  266. package/listener/ChartTouchListener.js.map +0 -1
  267. package/listener/PieRadarChartTouchListener.d.ts +0 -100
  268. package/listener/PieRadarChartTouchListener.js +0 -282
  269. package/listener/PieRadarChartTouchListener.js.map +0 -1
  270. package/model/GradientColor.d.ts +0 -9
  271. package/model/GradientColor.js +0 -19
  272. package/model/GradientColor.js.map +0 -1
  273. package/renderer/AxisRenderer.d.ts +0 -101
  274. package/renderer/AxisRenderer.js +0 -219
  275. package/renderer/AxisRenderer.js.map +0 -1
  276. package/renderer/BarChartRenderer.d.ts +0 -40
  277. package/renderer/BarChartRenderer.js +0 -366
  278. package/renderer/BarChartRenderer.js.map +0 -1
  279. package/renderer/BarLineScatterCandleBubbleRenderer.d.ts +0 -57
  280. package/renderer/BarLineScatterCandleBubbleRenderer.js +0 -63
  281. package/renderer/BarLineScatterCandleBubbleRenderer.js.map +0 -1
  282. package/renderer/BubbleChartRenderer.d.ts +0 -22
  283. package/renderer/BubbleChartRenderer.js +0 -204
  284. package/renderer/BubbleChartRenderer.js.map +0 -1
  285. package/renderer/CandleStickChartRenderer.d.ts +0 -18
  286. package/renderer/CandleStickChartRenderer.js +0 -268
  287. package/renderer/CandleStickChartRenderer.js.map +0 -1
  288. package/renderer/CombinedChartRenderer.d.ts +0 -40
  289. package/renderer/CombinedChartRenderer.js +0 -133
  290. package/renderer/CombinedChartRenderer.js.map +0 -1
  291. package/renderer/DataRenderer.d.ts +0 -103
  292. package/renderer/DataRenderer.js +0 -110
  293. package/renderer/DataRenderer.js.map +0 -1
  294. package/renderer/HorizontalBarChartRenderer.d.ts +0 -20
  295. package/renderer/HorizontalBarChartRenderer.js +0 -303
  296. package/renderer/HorizontalBarChartRenderer.js.map +0 -1
  297. package/renderer/LegendRenderer.d.ts +0 -54
  298. package/renderer/LegendRenderer.js +0 -340
  299. package/renderer/LegendRenderer.js.map +0 -1
  300. package/renderer/LineChartRenderer.d.ts +0 -100
  301. package/renderer/LineChartRenderer.js +0 -766
  302. package/renderer/LineChartRenderer.js.map +0 -1
  303. package/renderer/LineRadarRenderer.d.ts +0 -30
  304. package/renderer/LineRadarRenderer.js +0 -85
  305. package/renderer/LineRadarRenderer.js.map +0 -1
  306. package/renderer/LineScatterCandleRadarRenderer.d.ts +0 -20
  307. package/renderer/LineScatterCandleRadarRenderer.js +0 -45
  308. package/renderer/LineScatterCandleRadarRenderer.js.map +0 -1
  309. package/renderer/PieChartRenderer.d.ts +0 -86
  310. package/renderer/PieChartRenderer.js +0 -718
  311. package/renderer/PieChartRenderer.js.map +0 -1
  312. package/renderer/RadarChartRenderer.d.ts +0 -33
  313. package/renderer/RadarChartRenderer.js +0 -290
  314. package/renderer/RadarChartRenderer.js.map +0 -1
  315. package/renderer/Renderer.d.ts +0 -13
  316. package/renderer/Renderer.js +0 -11
  317. package/renderer/Renderer.js.map +0 -1
  318. package/renderer/ScatterChartRenderer.d.ts +0 -16
  319. package/renderer/ScatterChartRenderer.js +0 -147
  320. package/renderer/ScatterChartRenderer.js.map +0 -1
  321. package/renderer/XAxisRenderer.d.ts +0 -58
  322. package/renderer/XAxisRenderer.js +0 -458
  323. package/renderer/XAxisRenderer.js.map +0 -1
  324. package/renderer/XAxisRendererHorizontalBarChart.d.ts +0 -31
  325. package/renderer/XAxisRendererHorizontalBarChart.js +0 -271
  326. package/renderer/XAxisRendererHorizontalBarChart.js.map +0 -1
  327. package/renderer/XAxisRendererRadarChart.d.ts +0 -17
  328. package/renderer/XAxisRendererRadarChart.js +0 -51
  329. package/renderer/XAxisRendererRadarChart.js.map +0 -1
  330. package/renderer/YAxisRenderer.d.ts +0 -60
  331. package/renderer/YAxisRenderer.js +0 -379
  332. package/renderer/YAxisRenderer.js.map +0 -1
  333. package/renderer/YAxisRendererHorizontalBarChart.d.ts +0 -33
  334. package/renderer/YAxisRendererHorizontalBarChart.js +0 -250
  335. package/renderer/YAxisRendererHorizontalBarChart.js.map +0 -1
  336. package/renderer/YAxisRendererRadarChart.d.ts +0 -14
  337. package/renderer/YAxisRendererRadarChart.js +0 -180
  338. package/renderer/YAxisRendererRadarChart.js.map +0 -1
  339. package/renderer/scatter/ChevronDownShapeRenderer.d.ts +0 -11
  340. package/renderer/scatter/ChevronDownShapeRenderer.js +0 -15
  341. package/renderer/scatter/ChevronDownShapeRenderer.js.map +0 -1
  342. package/renderer/scatter/ChevronUpShapeRenderer.d.ts +0 -11
  343. package/renderer/scatter/ChevronUpShapeRenderer.js +0 -15
  344. package/renderer/scatter/ChevronUpShapeRenderer.js.map +0 -1
  345. package/renderer/scatter/CircleShapeRenderer.d.ts +0 -11
  346. package/renderer/scatter/CircleShapeRenderer.js +0 -31
  347. package/renderer/scatter/CircleShapeRenderer.js.map +0 -1
  348. package/renderer/scatter/CrossShapeRenderer.d.ts +0 -11
  349. package/renderer/scatter/CrossShapeRenderer.js +0 -15
  350. package/renderer/scatter/CrossShapeRenderer.js.map +0 -1
  351. package/renderer/scatter/IShapeRenderer.d.ts +0 -20
  352. package/renderer/scatter/IShapeRenderer.js +0 -2
  353. package/renderer/scatter/IShapeRenderer.js.map +0 -1
  354. package/renderer/scatter/SquareShapeRenderer.d.ts +0 -11
  355. package/renderer/scatter/SquareShapeRenderer.js +0 -31
  356. package/renderer/scatter/SquareShapeRenderer.js.map +0 -1
  357. package/renderer/scatter/TriangleShapeRenderer.d.ts +0 -12
  358. package/renderer/scatter/TriangleShapeRenderer.js +0 -43
  359. package/renderer/scatter/TriangleShapeRenderer.js.map +0 -1
  360. package/renderer/scatter/XShapeRenderer.d.ts +0 -11
  361. package/renderer/scatter/XShapeRenderer.js +0 -15
  362. package/renderer/scatter/XShapeRenderer.js.map +0 -1
  363. package/utils/ColorTemplate.d.ts +0 -34
  364. package/utils/ColorTemplate.js +0 -51
  365. package/utils/ColorTemplate.js.map +0 -1
  366. package/utils/HorizontalViewPortHandler.d.ts +0 -6
  367. package/utils/HorizontalViewPortHandler.js +0 -7
  368. package/utils/HorizontalViewPortHandler.js.map +0 -1
  369. package/utils/MPPointD.d.ts +0 -5
  370. package/utils/MPPointF.d.ts +0 -7
  371. package/utils/MPSize.d.ts +0 -7
  372. package/utils/ObjectPool.d.ts +0 -81
  373. package/utils/ObjectPool.js +0 -183
  374. package/utils/ObjectPool.js.map +0 -1
  375. package/utils/Transformer.d.ts +0 -175
  376. package/utils/Transformer.js +0 -356
  377. package/utils/Transformer.js.map +0 -1
  378. package/utils/TransformerHorizontalBarChart.d.ts +0 -14
  379. package/utils/TransformerHorizontalBarChart.js +0 -30
  380. package/utils/TransformerHorizontalBarChart.js.map +0 -1
  381. package/utils/Utils.d.ts +0 -203
  382. package/utils/Utils.js +0 -653
  383. package/utils/Utils.js.map +0 -1
  384. package/utils/ViewPortHandler.d.ts +0 -299
  385. package/utils/ViewPortHandler.js +0 -580
  386. package/utils/ViewPortHandler.js.map +0 -1
  387. package/utils/colors/colorful.d.ts +0 -1
  388. package/utils/colors/colorful.js +0 -2
  389. package/utils/colors/colorful.js.map +0 -1
  390. package/utils/colors/joyful.d.ts +0 -1
  391. package/utils/colors/joyful.js +0 -2
  392. package/utils/colors/joyful.js.map +0 -1
  393. package/utils/colors/liberty.d.ts +0 -1
  394. package/utils/colors/liberty.js +0 -2
  395. package/utils/colors/liberty.js.map +0 -1
  396. package/utils/colors/material.d.ts +0 -1
  397. package/utils/colors/material.js +0 -2
  398. package/utils/colors/material.js.map +0 -1
  399. package/utils/colors/pastel.d.ts +0 -1
  400. package/utils/colors/pastel.js +0 -2
  401. package/utils/colors/pastel.js.map +0 -1
  402. package/utils/colors/vordiplom.d.ts +0 -1
  403. package/utils/colors/vordiplom.js +0 -2
  404. package/utils/colors/vordiplom.js.map +0 -1
@@ -1,592 +0,0 @@
1
- import { Canvas, Matrix, Paint } from '@nativescript-community/ui-canvas';
2
- import { EventData } from '@nativescript/core';
3
- import { GestureTypes } from '@nativescript/core/ui/gestures';
4
- import { AxisDependency, YAxis } from '../components/YAxis';
5
- import { BarLineScatterCandleBubbleData } from '../data/BarLineScatterCandleBubbleData';
6
- import { Entry } from '../data/Entry';
7
- import { BarLineScatterCandleBubbleDataProvider } from '../interfaces/dataprovider/BarLineScatterCandleBubbleDataProvider';
8
- import { IBarLineScatterCandleBubbleDataSet } from '../interfaces/datasets/IBarLineScatterCandleBubbleDataSet';
9
- import { BarLineChartTouchListener } from '../listener/BarLineChartTouchListener';
10
- import { XAxisRenderer } from '../renderer/XAxisRenderer';
11
- import { YAxisRenderer } from '../renderer/YAxisRenderer';
12
- import { Transformer } from '../utils/Transformer';
13
- import { Chart } from './Chart';
14
- import { IDataSet } from '../interfaces/datasets/IDataSet';
15
- export declare abstract class BarLineChartBase<U extends Entry, D extends IBarLineScatterCandleBubbleDataSet<U>, T extends BarLineScatterCandleBubbleData<U, D>> extends Chart<U, D, T> implements BarLineScatterCandleBubbleDataProvider {
16
- chartTouchListener: BarLineChartTouchListener;
17
- /**
18
- * the maximum number of entries to which values will be drawn
19
- * (entry numbers greater than this value will cause value-labels to disappear)
20
- */
21
- maxVisibleValueCount: number;
22
- /**
23
- * flag that indicates if auto scaling on the y axis is enabled
24
- */
25
- autoScaleMinMaxEnabled: boolean;
26
- /**
27
- * flag that indicates if pinch-zoom is enabled. if true, both x and y axis
28
- * can be scaled with 2 fingers, if false, x and y axis can be scaled
29
- * separately
30
- */
31
- pinchZoomEnabled: boolean;
32
- /**
33
- * flag that indicates if double tap zoom is enabled or not
34
- */
35
- protected mDoubleTapToZoomEnabled: boolean;
36
- /**
37
- * flag that indicates if highlighting per dragging over a fully zoomed out
38
- * chart is enabled
39
- */
40
- protected mHighlightPerDragEnabled: boolean;
41
- /**
42
- * flag that indicates zoomed pan gesture should only work with 2 pointers
43
- */
44
- zoomedPanWith2Pointers: boolean;
45
- /**
46
- * if true, dragging is enabled for the chart
47
- */
48
- dragXEnabled: boolean;
49
- dragYEnabled: boolean;
50
- private mScaleXEnabled;
51
- private mScaleYEnabled;
52
- /**
53
- * palet object for the (by default) lightgrey background of the grid
54
- */
55
- protected mGridBackgroundPaint: Paint;
56
- protected mBorderPaint: Paint;
57
- /**
58
- * flag indicating if the grid background should be drawn or not
59
- */
60
- drawGridBackgroundEnabled: boolean;
61
- drawBorders: boolean;
62
- clipValuesToContent: boolean;
63
- clipDataToContent: boolean;
64
- drawHighlight: boolean;
65
- /**
66
- * Sets the minimum offset (padding) around the chart, defaults to 15
67
- */
68
- minOffset: number;
69
- /**
70
- * flag indicating if the chart should stay at the same position after a rotation. Default is false.
71
- */
72
- keepPositionOnRotation: boolean;
73
- /**
74
- * the listener for user drawing on the chart
75
- */
76
- /**
77
- * the object representing the labels on the left y-axis
78
- */
79
- mAxisLeft: YAxis;
80
- /**
81
- * the object representing the labels on the right y-axis
82
- */
83
- mAxisRight: YAxis;
84
- /**
85
- * axis renderer for the left axis.
86
- *
87
- */
88
- rendererLeftYAxis: YAxisRenderer;
89
- /**
90
- * axis renderer for the right axis.
91
- *
92
- */
93
- rendererRightYAxis: YAxisRenderer;
94
- /**
95
- * axis renderer for the x axis.
96
- *
97
- */
98
- rendererXAxis: XAxisRenderer;
99
- protected leftAxisTransformer: Transformer;
100
- protected rightAxisTransformer: Transformer;
101
- protected init(): void;
102
- get gridBackgroundPaint(): Paint;
103
- get borderPaint(): Paint;
104
- getOrCreateBarTouchListener(): BarLineChartTouchListener;
105
- private totalTime;
106
- private drawCycles;
107
- onDraw(canvas: Canvas): void;
108
- /**
109
- * RESET PERFORMANCE TRACKING FIELDS
110
- */
111
- resetTracking(): void;
112
- protected prepareValuePxMatrix(): void;
113
- protected prepareOffsetMatrix(): void;
114
- notifyDataSetChanged(): void;
115
- /**
116
- * Performs auto scaling of the axis by recalculating the minimum and maximum y-values based on the entries currently in view.
117
- */
118
- protected autoScale(): void;
119
- protected calcMinMax(): void;
120
- protected calculateLegendOffsets(offsets: any): void;
121
- calculateOffsets(force?: boolean): void;
122
- /**
123
- * draws the grid background
124
- */
125
- protected drawGridBackground(c: Canvas): void;
126
- /**
127
- * Returns the Transformer class that contains all matrices and is
128
- * responsible for transforming values into pixels on the screen and
129
- * backwards.
130
- */
131
- getTransformer(which?: AxisDependency): Transformer;
132
- get transformer(): Transformer;
133
- /**
134
- * ################ ################ ################ ################
135
- */
136
- /**
137
- * CODE BELOW THIS RELATED TO SCALING AND GESTURES AND MODIFICATION OF THE
138
- * VIEWPORT
139
- */
140
- protected mZoomMatrixBuffer: Matrix;
141
- /**
142
- * Zooms in by 1.4f, into the charts center.
143
- */
144
- zoomIn(): void;
145
- /**
146
- * Zooms out by 0.7f, from the charts center.
147
- */
148
- zoomOut(): void;
149
- /**
150
- * Zooms out to original size.
151
- */
152
- resetZoom(): void;
153
- /**
154
- * Zooms in or out by the given scale factor. x and y are the coordinates
155
- * (in pixels) of the zoom center.
156
- *
157
- * @param scaleX if < 1 --> zoom out, if > 1 --> zoom in
158
- * @param scaleY if < 1 --> zoom out, if > 1 --> zoom in
159
- * @param x
160
- * @param y
161
- */
162
- zoom(scaleX: any, scaleY: any, x: any, y: any): void;
163
- /**
164
- * Zooms in or out by the given scale factor.
165
- * x and y are the values (NOT PIXELS) of the zoom center..
166
- *
167
- * @param scaleX
168
- * @param scaleY
169
- * @param xValue
170
- * @param yValue
171
- * @param axis the axis relative to which the zoom should take place
172
- */
173
- zoomAtValue(scaleX: any, scaleY: any, xValue: any, yValue: any, axis: any): void;
174
- /**
175
- * Zooms to the center of the chart with the given scale factor.
176
- *
177
- * @param scaleX
178
- * @param scaleY
179
- */
180
- zoomToCenter(scaleX: any, scaleY: any): void;
181
- /**
182
- * Zooms by the specified scale factor to the specified values on the specified axis.
183
- *
184
- * @param scaleX
185
- * @param scaleY
186
- * @param xValue
187
- * @param yValue
188
- * @param axis
189
- * @param duration
190
- */
191
- zoomAndCenterAnimated(scaleX: any, scaleY: any, xValue: any, yValue: any, axis: any, duration: any): void;
192
- /**
193
- * Zooms by the specified scale factor to the specified values on the specified axis.
194
- *
195
- * @param scaleX
196
- * @param scaleY
197
- * @param xValue
198
- * @param yValue
199
- * @param axis
200
- */
201
- zoomAndCenter(scaleX: any, scaleY: any, xValue: any, yValue: any, axis: any): void;
202
- protected mFitScreenMatrixBuffer: Matrix;
203
- /**
204
- * Resets all zooming and dragging and makes the chart fit exactly it's
205
- * bounds.
206
- */
207
- fitScreen(): void;
208
- /**
209
- * Sets the minimum scale factor value to which can be zoomed out. 1 =
210
- * fitScreen
211
- *
212
- * @param scaleX
213
- * @param scaleY
214
- */
215
- setScaleMinima(scaleX: any, scaleY: any): void;
216
- /**
217
- * Sets the scale factor. 1 =
218
- * fitScreen
219
- *
220
- * @param scaleX
221
- * @param scaleY
222
- */
223
- setScale(scaleX: any, scaleY: any): void;
224
- /**
225
- * Sets the size of the area (range on the x-axis) that should be maximum
226
- * visible at once (no further zooming out allowed). If this is e.g. set to
227
- * 10, no more than a range of 10 on the x-axis can be viewed at once without
228
- * scrolling.
229
- *
230
- * @param maxXRange The maximum visible range of x-values.
231
- */
232
- set visibleXRangeMaximum(maxXRange: any);
233
- /**
234
- * Sets the size of the area (range on the x-axis) that should be minimum
235
- * visible at once (no further zooming in allowed). If this is e.g. set to
236
- * 10, no less than a range of 10 on the x-axis can be viewed at once without
237
- * scrolling.
238
- *
239
- * @param minXRange The minimum visible range of x-values.
240
- */
241
- set visibleXRangeMinimum(minXRange: any);
242
- /**
243
- * Limits the maximum and minimum x range that can be visible by pinching and zooming. e.g. minRange=10, maxRange=100 the
244
- * smallest range to be displayed at once is 10, and no more than a range of 100 values can be viewed at once without
245
- * scrolling
246
- *
247
- * @param minXRange
248
- * @param maxXRange
249
- */
250
- setVisibleXRange(minXRange: any, maxXRange: any): void;
251
- /**
252
- * Sets the size of the area (range on the y-axis) that should be maximum
253
- * visible at once.
254
- *
255
- * @param maxYRange the maximum visible range on the y-axis
256
- * @param axis the axis for which this limit should apply
257
- */
258
- setVisibleYRangeMaximum(maxYRange: any, axis: any): void;
259
- /**
260
- * Sets the size of the area (range on the y-axis) that should be minimum visible at once, no further zooming in possible.
261
- *
262
- * @param minYRange
263
- * @param axis the axis for which this limit should apply
264
- */
265
- setVisibleYRangeMinimum(minYRange: any, axis: any): void;
266
- /**
267
- * Limits the maximum and minimum y range that can be visible by pinching and zooming.
268
- *
269
- * @param minYRange
270
- * @param maxYRange
271
- * @param axis
272
- */
273
- setVisibleYRange(minYRange: any, maxYRange: any, axis: any): void;
274
- /**
275
- * Moves the left side of the current viewport to the specified x-position.
276
- * This also refreshes the chart by calling invalidate().
277
- *
278
- * @param xValue
279
- */
280
- moveViewToX(xValue: any): void;
281
- /**
282
- * This will move the left side of the current viewport to the specified
283
- * x-value on the x-axis, and center the viewport to the specified y value on the y-axis.
284
- * This also refreshes the chart by calling invalidate().
285
- *
286
- * @param xValue
287
- * @param yValue
288
- * @param axis - which axis should be used as a reference for the y-axis
289
- */
290
- moveViewTo(xValue: any, yValue: any, axis: any): void;
291
- /**
292
- * This will move the left side of the current viewport to the specified x-value
293
- * and center the viewport to the y value animated.
294
- * This also refreshes the chart by calling invalidate().
295
- *
296
- * @param xValue
297
- * @param yValue
298
- * @param axis
299
- * @param duration the duration of the animation in milliseconds
300
- */
301
- moveViewToAnimated(xValue: any, yValue: any, axis: any, duration: any): void;
302
- /**
303
- * Centers the viewport to the specified y value on the y-axis.
304
- * This also refreshes the chart by calling invalidate().
305
- *
306
- * @param yValue
307
- * @param axis - which axis should be used as a reference for the y-axis
308
- */
309
- centerViewToY(yValue: any, axis: any): void;
310
- /**
311
- * This will move the center of the current viewport to the specified
312
- * x and y value.
313
- * This also refreshes the chart by calling invalidate().
314
- *
315
- * @param xValue
316
- * @param yValue
317
- * @param axis - which axis should be used as a reference for the y axis
318
- */
319
- centerViewTo(xValue: any, yValue: any, axis: any): void;
320
- /**
321
- * This will move the center of the current viewport to the specified
322
- * x and y value animated.
323
- *
324
- * @param xValue
325
- * @param yValue
326
- * @param axis
327
- * @param duration the duration of the animation in milliseconds
328
- */
329
- centerViewToAnimated(xValue: any, yValue: any, axis: any, duration: any): void;
330
- /**
331
- * flag that indicates if a custom viewport offset has been set
332
- */
333
- private mCustomViewPortEnabled;
334
- /**
335
- * Sets custom offsets for the current ViewPort (the offsets on the sides of
336
- * the actual chart window). Setting this will prevent the chart from
337
- * automatically calculating it's offsets. Use resetViewPortOffsets() to
338
- * undo this. ONLY USE THIS WHEN YOU KNOW WHAT YOU ARE DOING, else use
339
- * setExtraOffsets(...).
340
- *
341
- * @param left
342
- * @param top
343
- * @param right
344
- * @param bottom
345
- */
346
- setViewPortOffsets(left: any, top: any, right: any, bottom: any): void;
347
- /**
348
- * Resets all custom offsets set via setViewPortOffsets(...) method. Allows
349
- * the chart to again calculate all offsets automatically.
350
- */
351
- resetViewPortOffsets(): void;
352
- /**
353
- * ################ ################ ################ ################
354
- */
355
- /** CODE BELOW IS GETTERS AND SETTERS */
356
- /**
357
- * Returns the range of the specified axis.
358
- *
359
- * @param axis
360
- * @return
361
- */
362
- protected getAxisRange(axis: any): number;
363
- /**
364
- * Returns a recyclable MPPointF instance.
365
- * Returns the position (in pixels) the provided Entry has inside the chart
366
- * view or null, if the provided Entry is null.
367
- *
368
- * @param e
369
- * @return
370
- */
371
- getPosition(e: U, axis: any): {
372
- x: number;
373
- y: number;
374
- };
375
- /**
376
- * Set this to true to allow highlighting per dragging over the chart
377
- * surface when it is fully zoomed out. Default: true
378
- *
379
- * @param enabled
380
- */
381
- set highlightPerDragEnabled(enabled: boolean);
382
- get highlightPerDragEnabled(): boolean;
383
- /**
384
- * Sets the color for the background of the chart-drawing area (everything
385
- * behind the grid lines).
386
- *
387
- * @param color
388
- */
389
- set gridBackgroundColor(color: any);
390
- /**
391
- * Set this to true to enable dragging (moving the chart with the finger)
392
- * for the chart (this does not effect scaling).
393
- *
394
- * @param enabled
395
- */
396
- set dragEnabled(enabled: boolean);
397
- /**
398
- * Returns true if dragging is enabled for the chart, false if not.
399
- */
400
- get dragEnabled(): boolean;
401
- /**
402
- * Set this to true to enable scaling (zooming in and out by gesture) for
403
- * the chart (this does not effect dragging) on both X- and Y-Axis.
404
- *
405
- * @param enabled
406
- */
407
- set scaleEnabled(enabled: any);
408
- set scaleXEnabled(enabled: boolean);
409
- get scaleXEnabled(): boolean;
410
- set scaleYEnabled(enabled: boolean);
411
- get scaleYEnabled(): boolean;
412
- /**
413
- * Set this to true to enable zooming in by double-tap on the chart.
414
- * Default: enabled
415
- *
416
- * @param enabled
417
- */
418
- set doubleTapToZoomEnabled(enabled: boolean);
419
- /**
420
- * Returns true if zooming via double-tap is enabled false if not.
421
- */
422
- get doubleTapToZoomEnabled(): boolean;
423
- set highlightPerTapEnabled(enabled: boolean);
424
- get highlightPerTapEnabled(): boolean;
425
- /**
426
- * wheter to highlight drawing will be clipped to contentRect,
427
- * otherwise they can bleed outside the content rect.
428
- */
429
- clipHighlightToContent: boolean;
430
- /**
431
- * Sets the width of the border lines in dp.
432
- *
433
- * @param width
434
- */
435
- setBorderWidth(width: any): void;
436
- /**
437
- * Sets the color of the chart border lines.
438
- *
439
- * @param color
440
- */
441
- setBorderColor(color: any): void;
442
- /**
443
- * Returns a recyclable MPPointD instance
444
- * Returns the x and y values in the chart at the given touch point
445
- * (encapsulated in a MPPointD). This method transforms pixel coordinates to
446
- * coordinates / values in the chart. This is the opposite method to
447
- * getPixelForValues(...).
448
- *
449
- * @param x
450
- * @param y
451
- * @return
452
- */
453
- getValuesByTouchPoint(x: any, y: any, axis: any): any;
454
- /**
455
- * Returns a recyclable MPPointD instance
456
- * Transforms the given chart values into pixels. This is the opposite
457
- * method to getValuesByTouchPoint(...).
458
- *
459
- * @param x
460
- * @param y
461
- * @return
462
- */
463
- getPixelForValues(x: any, y: any, axis: any): {
464
- x: number;
465
- y: number;
466
- };
467
- /**
468
- * Returns a recyclable MPPointD instance
469
- * Transforms the given chart values into pixels. This is the opposite
470
- * method to getValuesByTouchPoint(...).
471
- *
472
- * @param set
473
- * @param entry
474
- * @param entry
475
- * @return
476
- */
477
- getPixelForEntry(set: IDataSet<Entry>, entry: Entry, index: any): {
478
- x: number;
479
- y: number;
480
- };
481
- /**
482
- * returns the Entry object displayed at the touched position of the chart
483
- *
484
- * @param x
485
- * @param y
486
- * @return
487
- */
488
- getEntryByTouchPoint(x: any, y: any): Entry;
489
- /**
490
- * returns the DataSet object displayed at the touched position of the chart
491
- *
492
- * @param x
493
- * @param y
494
- * @return
495
- */
496
- getDataSetByTouchPoint(x: any, y: any): D;
497
- /**
498
- * buffer for storing lowest visible x point
499
- */
500
- protected posForGetLowestVisibleX: {
501
- x: number;
502
- y: number;
503
- };
504
- /**
505
- * Returns the lowest x-index (value on the x-axis) that is still visible on
506
- * the chart.
507
- */
508
- get lowestVisibleX(): number;
509
- /**
510
- * buffer for storing highest visible x point
511
- */
512
- protected posForGetHighestVisibleX: {
513
- x: number;
514
- y: number;
515
- };
516
- /**
517
- * Returns the highest x-index (value on the x-axis) that is still visible
518
- * on the chart.
519
- */
520
- get highestVisibleX(): number;
521
- /**
522
- * Returns the range visible on the x-axis.
523
- */
524
- getVisibleXRange(): number;
525
- /**
526
- * returns the current x-scale factor
527
- */
528
- getScaleX(): number;
529
- /**
530
- * returns the current y-scale factor
531
- */
532
- getScaleY(): number;
533
- /**
534
- * if the chart is fully zoomed out, return true
535
- */
536
- isFullyZoomedOut(): boolean;
537
- /**
538
- * Returns the left y-axis object. In the horizontal bar-chart, this is the
539
- * top axis.
540
- */
541
- get leftAxis(): YAxis;
542
- /**
543
- * @deprecated use leftAxis
544
- */
545
- get axisLeft(): YAxis;
546
- /**
547
- * Returns the right y-axis object. In the horizontal bar-chart, this is the
548
- * bottom axis.
549
- */
550
- get rightAxis(): YAxis;
551
- /**
552
- * @deprecated use rightAxis
553
- */
554
- get axisRight(): YAxis;
555
- /**
556
- * Returns the y-axis object to the corresponding AxisDependency. In the
557
- * horizontal bar-chart, LEFT == top, RIGHT == BOTTOM
558
- *
559
- * @param axis
560
- * @return
561
- */
562
- getAxis(axis: any): YAxis;
563
- isInverted(axis: any): boolean;
564
- /**
565
- * Set an offset in dp that allows the user to drag the chart over it's
566
- * bounds on the x-axis.
567
- *
568
- * @param offset
569
- */
570
- setDragOffsetX(offset: any): void;
571
- /**
572
- * Set an offset in dp that allows the user to drag the chart over it's
573
- * bounds on the y-axis.
574
- *
575
- * @param offset
576
- */
577
- setDragOffsetY(offset: any): void;
578
- /**
579
- * Returns true if both drag offsets (x and y) are zero or smaller.
580
- */
581
- hasNoDragOffset(): boolean;
582
- get yChartMax(): number;
583
- get yChartMin(): number;
584
- /**
585
- * Returns true if either the left or the right or both axes are inverted.
586
- */
587
- get anyAxisInverted(): boolean;
588
- protected mOnSizeChangedBuffer: import("@nativescript-community/arraybuffers").TypedArray;
589
- onSizeChanged(w: number, h: number, oldw: number, oldh: number): void;
590
- addEventListener(arg: string | GestureTypes, callback: (data: EventData) => void, thisArg?: any): void;
591
- removeEventListener(arg: string | GestureTypes, callback?: any, thisArg?: any): void;
592
- }