Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Sencha Charts Essentials

You're reading from   Sencha Charts Essentials Create stunning charts and visualizations for both web and mobile applications

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781785289767
Length 214 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ajit Kumar Ajit Kumar
Author Profile Icon Ajit Kumar
Ajit Kumar
Arrow right icon
View More author details
Toc

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 the Sencha Charts architecture, modify an existing interaction, and use it on our custom PeriodicTable chart that we developed in Chapter 6, Creating a Custom Spacefilling Chart.

Each of these three interactions will explain unique scenarios...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image