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

Should tooltips title show the series name? #100

Open
kanokith opened this issue Sep 19, 2019 · 4 comments
Open

Should tooltips title show the series name? #100

kanokith opened this issue Sep 19, 2019 · 4 comments

Comments

@kanokith
Copy link

Now the tooltips title show the 'x' data, is it better to show the seriesName?
Screen Shot 2562-09-19 at 16 20 03
Screen Shot 2562-09-19 at 16 20 25

@NapChen
Copy link

NapChen commented Mar 31, 2020

is there any solution?

@NapChen
Copy link

NapChen commented Mar 31, 2020

Hi,i modify the file column-chart.js col102 like this:
before :
tooltipRenders.push(<Text key={'tooltipTitle-' + i} style={styles.tooltipTitle}>{series.data[selectedIndex]['x']}</Text>)
after :
tooltipRenders.push(<Text key={'tooltipTitle-' + i} style={styles.tooltipTitle}>{series.seriesName}{series.data[selectedIndex]['x']}</Text>)
and I had seriesName in the tooltips

@radekzz
Copy link

radekzz commented Sep 23, 2021

@NapChen @kanokith can you create a PR so this can be implemented? This is really useful update as it doesn't make sense to show e.g. Date 3x times in one label and no legend

@NapChen
Copy link

NapChen commented Sep 24, 2021

@NapChen @kanokith can you create a PR so this can be implemented? This is really useful update as it doesn't make sense to show e.g. Date 3x times in one label and no legend

hi bro,maybe you can try this repo https://github.com/supervons/react-native-echarts-pro instead

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

3 participants