Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip报错 #1543

Open
liujian18720923143 opened this issue Jun 10, 2023 · 0 comments
Open

Tooltip报错 #1543

liujian18720923143 opened this issue Jun 10, 2023 · 0 comments

Comments

@liujian18720923143
Copy link

BizCharts Version:3.5.10
`
import React, { PureComponent } from 'react';
import { Chart, Geom, Axis, Tooltip } from 'bizcharts';

export default class ANAC0011 extends PureComponent {
constructor(props) {
super(props);
this.state = {
};
}
componentDidMount() {
}
componentWillUnmount() {
}
render() {
const cols = {
percent: {
min: 0,
},
};
const data = [
{
year: '1951 年',
sales: 38,
},
{
year: '1952 年',
sales: 52,
},
{
year: '1956 年',
sales: 61,
},
{
year: '1957 年',
sales: 145,
},
{
year: '1958 年',
sales: 48,
},
{
year: '1959 年',
sales: 38,
},
{
year: '1960 年',
sales: 38,
},
{
year: '1962 年',
sales: 38,
},
];
return (









);
}
}
`
image

`
import React, { PureComponent } from 'react';
import { Chart, Geom, Axis, Tooltip } from 'bizcharts';

export default class ANAC0011 extends PureComponent {
constructor(props) {
super(props);
this.state = {
};
}
componentDidMount() {
}
componentWillUnmount() {
}
render() {
const cols = {
percent: {
min: 0,
},
};
const data = [
{
year: '1951 年',
sales: 38,
},
{
year: '1952 年',
sales: 52,
},
{
year: '1956 年',
sales: 61,
},
{
year: '1957 年',
sales: 145,
},
{
year: '1958 年',
sales: 48,
},
{
year: '1959 年',
sales: 38,
},
{
year: '1960 年',
sales: 38,
},
{
year: '1962 年',
sales: 38,
},
];
return (





{/* */}



);
}
}
`
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant