Reader small image

You're reading from  Sencha Charts Essentials

Product typeBook
Published inMay 2015
Reading LevelBeginner
Publisher
ISBN-139781785289767
Edition1st Edition
Languages
Right arrow
Author (1)
Ajit Kumar
Ajit Kumar
author image
Ajit Kumar

Ajit Kumar has over 16 years of experience in technology areas ranging from embedded systems to large enterprise applications. He worked with various multinational corporations such as Honeywell, Hughes, Virtusa, and Convergys, before starting his own companyWalking Treewhich specializes in Sencha frameworks. Ajit has authored books on open source frameworks, including Sencha Touch Cookbook, Sencha Touch Cookbook Second Edition, Sencha MVC Architecture, and ADempiere 3.6 Cookbook, all by Packt Publishing, which he considers his way of thanking the awesome open source community!
Read more about Ajit Kumar

Right arrow

Creating a Market Clock


In this section, you will see how to create a Market Clock, shown here, where we show the duration for which a stock exchange is open. It's a great visual tool to keep track of the opening and closing times of different stock exchanges.

Note

The clock given at http://market24hclock.com/ is a great example of a stock market clock as it quickly gives an idea about the opening and closing times of different exchanges.

The following diagram shows the Market Clock that we will create in this chapter:

What is this chart all about?

The stock market chart that we will build in this chapter has the following requirements:

  • It should show a 12-hour clock

  • For each stock exchange, it should show a sector on top of the clock

  • Each sector should represent the duration for which an exchange is open

  • The Exchange name should be shown on the sector

  • Each sector should use a unique color

Based on the preceding requirements, let's start with the design and then we will move on to the implementation...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Sencha Charts Essentials
Published in: May 2015Publisher: ISBN-13: 9781785289767

Author (1)

author image
Ajit Kumar

Ajit Kumar has over 16 years of experience in technology areas ranging from embedded systems to large enterprise applications. He worked with various multinational corporations such as Honeywell, Hughes, Virtusa, and Convergys, before starting his own companyWalking Treewhich specializes in Sencha frameworks. Ajit has authored books on open source frameworks, including Sencha Touch Cookbook, Sencha Touch Cookbook Second Edition, Sencha MVC Architecture, and ADempiere 3.6 Cookbook, all by Packt Publishing, which he considers his way of thanking the awesome open source community!
Read more about Ajit Kumar