[QUESTION]合并单元格后,如何在合并的单元格显示图表
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
What problem does this feature solve?
What does the proposed API look like?
const tableOptions = ref({ columns: columns.value, defaultRowHeight: 50, defaultHeaderRowHeight: 50, autoWrapText: true, customComputeRowHeight: (computeArgs: { row: number }) => { if (computeArgs.row === 1) { return 500; } return "undefined"; }, customMergeCell: (col, row, table) => { if (col >= 0 && col <= 3 && row == 1) { return { text: table.getCellValue(row, 1), range: { start: { col: 0, row: 1 }, end: { col: 3, row: 1 } } }; } } });
我是通过customMergeCell来合并的,现在合并后只有text,有没有办法显示图表
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the customMergeCell and customComputeRowHeight callbacks shown in the issue, then trace how merged-cell text and charts are rendered. Determine whether the current API supports rendering a chart in a merged range; done would be a documented supported approach or a clearly scoped extension proposal, with an example showing the chart after cells are merged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100