1.1.4 • Published 7 years ago

eon-spark v1.1.4

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

EON Spark

Developers create engaging, beautiful live data visuals that helps you stand out. It's fast, simple, and open source.

Developers create lovely visuals from live data.

EON Spark Chart and Graph

You imagine what live streaming data looks like. Charting and graphing for live streaming data. iOS, Android and web browsers. This is the visual representation of live streaming data, the way you would imagine.

EON Spark Graphing

EON Spark is lightweight, and has been coded ground-up. No dependencies are required. This means streamlined performance dedicated to drawing streaming data visuals. EON Spark library was purpose built for mobile and web displays. This graphing library was built internally at PubNub and has been in use since 2014.

Getting Started: EON Spark Data Visualizations

How to draw lines on a spark chart with a quick tutorial. Start with defining your HTML DOM element <svg>.

<!-- Sparkline Graph Element -->
<svg id='basic-sparkline'></svg>

How should your sparkline look? It should be pretty! Sparkline basic CSS provided. You can define animation and more! Make your sparkline sparkle. We'll start simple first.

<!-- How should the line look? -->
<style>
    #basic-sparkline {
        background: #f5e2c8;
        width: 500px;
        height: 100px;
    }
    line.basic {
        stroke: #f56476;
        stroke-width: 3.0%;
        stroke-dasharray: 2 2 400;
    }
</style>

Initialize EON Spark graph and create painting area.

<script src="../eon-spark.js"></script>
<script>
    // Generate sparkline graph
    const graph = eon.spark({ duration: 10, svg : 'basic-sparkline' });
</script>

Adding a line to the chart by using .append() method.

<script>
    // Draw line two times per second with random value.
    setInterval( () => {
        graph.append({
            classname : 'basic'
        ,   value     : Math.random() * 300 + 2000
        });
    }, 500 );
</script>

EON Spark Roadmap

  • Website w/ signup form
  • Spark Builder/Gallery (themes, data source/test data, etc.)
  • Web Dashboard Demo
  • Documentation of each parameter
  • BLOCKS for Stream Processing
  • iOS Cocoa Pod
  • Android Module
  • Angular Module
  • Angular2 Module
  • React Module
  • Polymer Component
  • http://buildwithreact.com/tutorial/events tutorial style
1.1.4

7 years ago

1.1.0

7 years ago

1.0.12

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago