User:Pietrasagh/graphen

Module for Vega 5


 * Differences of vega 2 and vega 5](#differences-vega-2-i-vega-5)
 * Significant differences in syntax](#significant-differences-in-encoding)
 * Marks and Visual Encoding](#marks-and-visual-encoding)
 * Signals and Event Processing](#signals-and-event-processing)
 * View Layout](#view-layout)
 * Axes and Legends](#axes-and-legends)
 * Scales](#scales)
 * Data Transforms](#data-transforms)
 * Geo Data](#geo-data)
 * What's easier, what's harder](#what's-easier-what's-harder)
 * Make-scheme-of-what-is](#make-scheme-of-what-is).
 * Current status](#current-status)
 * Constants](#constants)
 * Auxiliary functions](#auxiliary-functions)
 * Main functions](#main-functions)
 * What can be discarded or changed](#what-can-be-discarded-or-changed)
 * Track all bagaroud errors in vega 2](#trace-all-workaroud-errors-in-vega-2)
 * New module](#new-module)
 * Errors reported in Graph|Chart:talk](#errors-reported-in-graphcharttalk)
 * Make-order](#make-order).
 * Preprocessing input data](#preprocessing-input-data)
 * At can change the approach to the data and take as entered and then transform -&gt; ...
 * Maybe better vega lite as base for module?.

-

= Differences vega 2 and vega 5 =

Vega porting guide

Marks and Visual Encoding
sdsds


 * 1) data - allowed types are  date,  string,` default ``auto'' maybe try as default way?
 * 2)   removed, use   for texts
 * 3)   interpolation something there blah blah blah, check for bar graphs
 * 4)   removed
 * 5)   not allowed, all must be in   but this can now be nested in
 * 6)   not allowed
 * 7) new   works like path but better
 * 8) new   meaning order
 * 9) axies must have 'orient' and 'scale' argument
 * 1) axies must have 'orient' and 'scale' argument

Signals and Event Processing

 * 1)   -&gt; ,   -&gt;  ,   -&gt;.
 * ,,  , and   -&gt;  ,  ,   and  , new.

View Layout

 * 1)   removed, instead use CSS.
 * 2) new.

Axes and Legends

 * 1)   -&gt; ,   -&gt;  ,   -ends 1,.
 * 2)   (which did not work...) -&gt;.
 * 3)   in legends: give in automation some highlighting or what?
 * 4)   -&gt;.
 * 5) messed up with ticks and grid - check
 * 6) in     -&gt;.

Scales

 * 1)   divided into ,  ,.
 * 2) colors can have palettes ag names
 * ,  ni mo!

Data Transforms
Generally mixed up and minefield....


 * 1)   removed, use   but need to read
 * 2)   -&gt;   3.      no
 * 3)   no longer has.
 * :  ,  -&gt;.
 * 1)   -&gt;.
 * 2)   deleted
 * 3)   -&gt;.

Geo Data

 * 1)   are now top-level
 * 2)   -&gt;.
 * 3)   -&gt;   faster rendering.

Constants
local baseMapDirectory = &quot;Module:Diagrams/&quot; -- stuck to local wiki local persistentGrey = &quot;#54595d&quot; local shapes = {...} local dashes = {...} - see if they are predefined

auxiliary functions
local function numericArray(csv) local function stringArray(text) local function isTable(t) local function copy(x) (...)

main functions
local function p.map local function p.chart local function wrappery

Trace all workaroud errors in vega 2
= New module =