JavaScript code to create a zoomable chart with Zoom & Pan functionality.

The example below illustrates a bubble chart template created using JavaScript that features chart zoom and rotation capabilities.

Like other chart templates in CanvasChart, bubble charts support zoom and pan functionality. Zooming is useful when there are a large number of data points in the chart. You can also navigate through the chart/graph after zooming in using the pan feature.

 

The example below illustrates a bubble chart template created using JavaScript that includes zoom and rotation features . The article also includes the JavaScript source code for you to edit in your browser or save to your computer for local execution.

 

Source: CanvasJS

Customize charts

You are free to adjust the properties in the JavaScript code that creates the bubble chart to get the desired result. For example:

  • Turn on Zoom and Pan using zoomEnabled.
  • Zoom in/out along the X-axis, Y-axis, or both axes using zoomType.
  • Open the toolbar using toolbar.
  • Change the color using color.
  • Adjust the opacity when filled using fillOpacity.
  • The border color is indicated by markerBorderColor.
  • The thickness of the border is indicated by markerBorderThickness.
Related posts
Other JavaScript articles
  • JavaScript code to create a scatter plot/point chart

    dưới đây là ví dụ minh họa biểu đồ phân tán/điểm được tạo bằng javascript cùng với mã nguồn html mà bạn có thể chỉnh sửa trong trình duyệt hoặc lưu về máy để chạy nội bộ.
  • JavaScript code to create a combined area and line chart.

    ví dụ bên dưới minh họa biến thiên nhiệt độ hàng ngày cùng với giá trị trung bình của nó bằng cách kết hợp biểu đồ vùng theo phạm vi và đường được tạo bằng javascript.
  • JavaScript code to create a chart/graph combining lines, areas, and columns.

    ví dụ bên dưới minh họa mẫu biểu đồ kết hợp cột, đường và vùng được tạo bằng javascript. nó cũng chứa mã nguồn mà bạn có thể chỉnh sửa trong trình duyệt hoặc lưu về máy để chạy nội bộ.
  • Sample JavaScript code to create a chart with a second axis.

    code mẫu biểu đồ multiple axis được tạo bằng javascript giúp nó dễ dàng so sánh các chuỗi với phạm vi khác nhau trong cùng biểu đồ thay vì lật qua lại giữa hai biểu đồ.
  • Machine Learning in JavaScript

    machine learning có thể nặng về toán học. Đây là lúc javascript phát huy tác dụng, với phần mềm dễ hiểu giúp đơn giản hóa quá trình tạo và huấn luyện mạng nơ-ron.
  • How to use pointer events in JavaScript

    javascript có một tiêu chuẩn mới hơn gọi là các sự kiện con trỏ. nó xử lý cả hai tác vụ chuột và chạm cảm ứng, vì thế, bạn không phải lo nghĩ về việc triển khai riêng từng tác vụ.
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup