Chapter 9. Creating Charts and Maps

In this chapter, we will cover the following topics:

  • Creating line, area, bar, and pie charts
  • Creating combined charts
  • Updating live data in charts with polling
  • Interacting with charts via AJAX
  • Basic mapping with GMaps
  • Adding, selecting, and dragging markers in maps
  • Creating rectangles, circles, polylines, and polygons in maps
  • Enabling InfoWindow and streetView on maps

Introduction

In this chapter, we will cover chart creation with PrimeFaces' extensive charting features and create maps based on Google Maps. PrimeFaces offers basic and advanced charting with its easy-to-use and user-friendly charting infrastructure. Along with basic charting, live updating of chart data and interaction with charts via the AJAX mechanism will also be covered. In version 5.0, chart components were re-implemented in order to overcome limitations. Now, they are more model-driven instead of implementing with component attributes.

Throughout the chapter, we will cover mapping abilities, such as drawing polylines and polygons, and then move on to advanced topics such as handling markers and events and adding information panels and controls on map as overlays.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.80.45