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 © 2023 Devsoft Baltic OÜ. All rights reserved.

Why we use cookies.

This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies.

For more information, refer to DevSoft Baltic’ Terms of Use & Privacy Statement.

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.