[Bug] XAXisOption Missing OrdinalRawValue TextCommonOption type
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
6.0.0
### Link to Minimal Reproduction
-
### Steps to Reproduce
```
export const useChartOptionLine = (
xData: (
| OrdinalRawValue
| {
value: OrdinalRawValue;
textStyle?: TextCommonOption;
}
)[],
yData: number[]
): ECOption => {
return {
tooltip: { trigger: 'axis' },
xAxis: {
type: 'category',
data: xData,
axisTick: { alignWithLabel: true },
boundaryGap: false
},
yAxis: { type: 'value' },
series: [
{
data: yData,
type: 'line',
markPoint: {
data: markPointData
}
}
]
};
};
```
### Current Behavior
-
### Expected Behavior
-
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.