Skip to content

How do I cutomize tooltip like on KLineChartPro? #563

Answered by char101
rxdiscovery asked this question in Q&A
Discussion options

You must be logged in to vote

It is a unicode character. Using chart.setStyles you set the character used for the eye and config icon.

See

icon: string

Example

chart.setStyles({
  indicator: {
    tooltip: {
      icons: [
        { id: 'l', position: 'left', icon: 'L', color: '#FFF' },
        { id: 'm', position: 'middle', icon: 'M' },
        { id: 'r', position: 'right', icon: 'R' },
      ],
    }
  }
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by liihuu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants