Input and Output operations


Loading Data, Saving Data and More ...

CanvasXpress lets the user load and save the data visualizations in many formats. This functionality is available through the different user interfaces. Here is shown the functionality through the context menu under the "File" header.

Saving Data

Data can be saved as a PNG or in a JSON format.

Saves the data in a PNG format as it is currently displayed in the canvas; that is, whether the data is filtered or zoomed, etc. By default the data is automatically saved in the default "Download" directory in the user computer with the name that identify the canvas in the corresponding web page with the extension "png". This default behaviour can be changed to make canvasXpress open a pop-up window with the PNG file setting the parameter printType to window. Be aware that the actual data is embeded in the PNG file unless the parameter isReproducibleResearch is set to false. Read more in the Reproducible Research section.

Saves the data in JSON format. Similar to the saving the PNG file, the data is automatically saved in the default "Download" directory in the user computer with the name that identify the canvas in the corresponding web page with the extension "json".

Loading Data

Data in many formats including text delimited files can be uploaded from any existing canvasXpress visualization in a web page.

Opens the file manager in the user computer to allow the selection of a file. The file can be a canvasXpress PNG or JSON file as described above or it could be a text delimited file (tab or coma separated). If the file is a text file the extension of the file MUST be 'txt', 'tab', 'tsv', or 'csv'.

Loading and Exploring R Datasets

R datasets can be imported into canvasXpress once the parameter loadRDatasets is set to true through the configurator.


The R datasets are loaded dinamycally and remotely from the a Github data repository. Please feel free to clone it, add your favorite datasets and do a pull request. Once loaded you can use the different user interfaces to explore and configure the dtaset.

Checking Data, Configuration and Modifications

Shows the inital data and configurations along with all the user modifications. Read more in the Reproducible Research section.

Shows the current data and derived configuration from the user modifications. It is sometimes useful for developing and debugging purposes.

Reset the data to its original state and reproduce all user modifications. User should not interact with the visualization while the data is being reproduced.