O'Reilly logo

Sencha Charts Essentials by Ajit Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating custom interactions

In this section, we will create three different interactions:

  • Trendline: This allows the user to draw straight lines on a cartesian chart. It is a completely custom-developed interaction class and we will see how it can be used with an existing CandleStick as well as a custom MACD chart that we developed in Chapter 4, Creating a Custom Cartesian Chart.
  • Annotation: This allows the user to annotate a chart by adding an annotation image with a text. This will be a custom interaction, which we will use with our custom MarketClock chart that we developed in Chapter 5, Creating a Custom Polar Chart.
  • ItemHighlight: This is a custom interaction. It allows the user to show more details about a selected series item. We will leverage ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required