autoql

3.9.3 • Public • Published

Vanilla JS Components for AutoQL

Documentation

Full documentation can be found here

Demo

A live demo can be found here

Components

DataMessenger

Deliver the power of AutoQL to your users through Data Messenger, a state-of-the-art conversational interface you can easily build into your existing application.

Dashboard

Democratize the data in your application and deliver extended reporting and analytics capabilities to all your users with Dashboards you can build and deploy in a snap.

QueryInput

Query Input is an input box component that can be placed anywhere in the DOM. The QueryInput component works together with the QueryOutput component to automatically handle certain interactions with the data.

QueryOutput

Query Output is a data visualization widget that accepts the response from our API's query endpoint.

Quick Start

Using npm:

$ npm install autoql

Import the widget and styles

import { DataMessenger } from 'autoql';
import 'autoql/build/autoql.min.css';

Instance the widget

var datamessenger = new DataMessenger('#datamessenger', {
    authentication: {
        apiKey: "your-api-key",
        domain: "https://yourdomain.com",
        token: "yourToken"
    },
    autoQLConfig: {
        debug: true
    },
    onMaskClick: function(datamessenger){
        datamessenger.closeDrawer()
    },
    resizable: true,
    width: 550,
    enableDynamicCharting: true,
    placement: 'right'
})

Dashboard Example

import { Dashboard } from 'autoql';
import 'autoql/dist/autoql.min.css';

Mount Dashboard

var dashboard = new Dashboard('#dashboard', {
    authentication: {
        apiKey: "your-api-key",
        domain: "https://yourdomain.com",
        token: "yourToken"
    },
    autoQLConfig: {
        debug: true
    },
    tiles: arrayOfTiles
})

/autoql/

    Package Sidebar

    Install

    npm i autoql

    Weekly Downloads

    9

    Version

    3.9.3

    License

    ISC

    Unpacked Size

    5.45 MB

    Total Files

    4

    Last publish

    Collaborators

    • nikkimeganmoore
    • shivodd8
    • oscar_rinro
    • azhouchata