deno.land / x / billboardjs@3.6.0 / ChartInternal / internals / category.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** * Copyright (c) 2017 ~ present NAVER Corp. * billboard.js project is licensed under the MIT license */export default { /** * Category Name * @param {number} i Index number * @returns {string} category Name * @private */ categoryName(i: number): string { const {axis_x_categories: categories} = this.config;
return i < categories?.length ? categories[i] : i; },};
billboardjs

Version Info

Tagged at
a year ago