# jscs()
jQuery contextMenu v2.6.3 - Plugin for simple contextMenu handling Version: v2.6.3 Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF) Web: http://swisnl.github.io/jQuery-contextMenu/ Copyright (c) 2011-2018 SWIS BV and contributors Licensed under MIT License http://www.opensource.org/licenses/mit-license Date: 2018-02-20T13:26:15.719Z
# addMenu(parentElement)
create html menu of settings and control of interfaces of submenus hiden and show
Parameters
Name | Types | Description |
---|---|---|
parentElement | string |
- parent element id title where the menu will be added |
# addVis(visName, parentElement)
create and add graphic to selected html div. Exemplo de uso addVis(scatterplotMatrix,contentDiv) .
Parameters
Name | Types | Description |
---|---|---|
visName | string |
- name of graphic selected to be created |
parentElement | string |
- div class name where view will be added |
Returns
object
svg visualization
# clean_menus()
event to clear settings menu interface use clean_menus() . function to clear html from application settings menu
Returns
object
html element
# colors()
use colors() To create options in the html color menu and add the color selection inputs as needed, you can add various inputs or color range. Use the html element in the html colorSelector class to select and update options.
# defaultMenu()
use defaultMenu() to create the default item creation color control html and higlight. use html select input.setColorDefault and input.setHighlightColor to create elements and changes
# dimens()
use filter_by_dimension() create html data dimension filter options, create filter option checbox and use html class menu-filter_dimension to add checkboxes
# menu_tools(parentElement)
import html structure from folder settings menu public / html /
Parameters
Name | Types | Description |
---|---|---|
parentElement | string |
- parent div id title where element will be added |
# settings_individual_for_views(vis_container)
Parameters
Name | Types | Description |
---|---|---|
vis_container | object |
- container html for add vis and settings |
# size()
use size() to create and size select options to display items. use html select selectSize to create elements
# updateInterface()
Refresh the interface as you enter data and create submenus with interactions and click changes, function responsible for updating color menu options, filter, hierarchies, demand details and all other menus use updateInteface() .
Returns
object
updated html element
# createVis(container, select)
Parameters
Name | Types | Description |
---|---|---|
container | object |
- object html where will be added. |
select | string |
- collum selected for generate view |
# details_on_demand(items)
activate details on demand use visthechlib function detail(data,index,items value)
Parameters
Name | Types | Description |
---|---|---|
items | string |
- list name of dimensions |
# filterCategoricalValues(attr, select_item)
Parameters
Name | Types | Description |
---|---|---|
attr | string |
- Title of the selected categorical dimension to filter. |
select_item | string |
- dimension attribute selected for filter |
# filterColorContinues(attr, min, max, min_select, max_select)
Parameters
Name | Types | Description |
---|---|---|
attr | string |
- Title of the selected categorical dimension to filter. |
min | number |
- minimum attribute value |
max | number |
- attribute maximum value |
min_select | number |
- minimum filter limit |
max_select | number |
- maximum filter limit |
# selectColumnsInVis(container, select)
Parameters
Name | Types | Description |
---|---|---|
container | object |
- object html with view svg |
select | array<string> |
- string elements selecteds |
# updateCategoricalColor(attr, item, colors)
Parameters
Name | Types | Description |
---|---|---|
attr | string |
- Dimension title selected for coloring. |
item | array.<string> |
- title array of the attr category dimension values. |
colors | array.<string> |
- array with title of the selected dimensions of the database to mount the hierarchy. |
# updateColorContinues(attr, min, max)
Parameters
Name | Types | Description |
---|---|---|
attr | array.<string> |
- array with continuous dimension title. |
min | number |
- minimum value of the dimension continues. |
max | number |
- maximum value of the continuous dimension. |
# updateFilter_by_dimension(dimension_select)
update filter by dimension use visthechlib function filterByDimension()
Parameters
Name | Types | Description |
---|---|---|
dimension_select | Array<string> |
- list name of dimensions array dimension_select |
# updateHie(hie)
Parameters
Name | Types | Description |
---|---|---|
hie | array.<string> |
- array with title of the selected dimensions of the database to mount the hierarchy. |
# DataPreparation(data)
Class Class Data preparation and processing class for later use.can return keys, arrays, minimum and maximum as needed for application
Parameters
Name | Types | Description |
---|---|---|
data | object |
- Selected database. |
# getCategorical_values()
Get Categorical values of database.
Returns
array<string>
The attribute of of each column in the dataset.
# getLimit()
Get the column limit in the array where the minimum value array[0] and maximum value array[1]
Returns
array<number>
the minimum and maximum limit values of each column.
# getNumeric_values()
Get numeric values of database.
Returns
array<number>
The non-repeating values of each dataset column.
# Interaction_Chosen()
Data interaction of the chosen class. used for all views controls real-time mouse event dispatch uses pattern strategy