deno.land / x / billboardjs@3.6.0 / ChartInternal / internals / category.ts
123456789101112131415161718/** * 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; },};
Version Info