KeyLines
  • Showcases
  • Playground
  • Download
  • Examples
  • Docs
  • API
  • Support
  • All
    API
    Docs
    Examples
    Blogs
    Webinars
  • Request a trial

    Log in

    This demo is a version of Time Periods demo and uses Vue version 3.

    This demo shows how to use the KeyLines Vue component to:

    • Declare multiple components
    • Add font icons and tooltips
    • Set options on the chart
    • Listen for the change events on time bar and capture them on the controller to filter the chart

    Vue Component

    We've written the source code and chart component in ES6. We've also bundled the demo, chart component and Vue.js into a single file using Webpack, and transpiled the code to JavaScript using Babel.

    See also

    Tutorial: Vue Tutorial

    KeyLines Vue component: Vue Reference

    Vue official page: vuejs.org

    Key functions used:

    • chart.filter
    • chart.layout
    • timebar.inRange
    • Time bar Events
      • 'change'

    © 2011-2026 Cambridge Intelligence8.10.2 public/trunk

    Use/access of the Content on this website is subject to our Terms of Use.