Documentation Docs
Documentation Docs

VisualizerFactory

An object that allows you to create individual visualizers without creating a visualization panel.

Properties
Events

Creates a visualizer for a single question.

import { VisualizerFactory } from "survey-analytics";

const visualizer = new VisualizerFactory.createVisualizer(
  question,
  data,
  options
);

visualizer.render("containerId")

If a question has more than one registered visualizer, users can switch between them using a drop-down menu.

Type:
(question: Question, data: any, options?: { [index: string]: any; }) => VisualizerBase
Parameters:
question, type: Question ,

A question for which to create a visualizer.

data, type: any ,

A data array with survey results to be visualized.

options, type: { [index: string]: any; } ,

An object with any custom properties you need within the visualizer.

Implemented in:
VisualizerFactory

Copyright © 2024 Devsoft Baltic OÜ. All rights reserved.

Your cookie settings

We use cookies on our site to make your browsing experience more convenient and personal. In some cases, they are essential to making the site work properly. By clicking "Accept All", you consent to the use of all cookies in accordance with our Terms of Use & Privacy Statement. However, you may visit "Cookie settings" to provide a controlled consent.

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.