Functions Chart

Draw 2d and 3d functions

Example Color Themes

Example Fonts

Show Code


<!-- Include the CanvasXpress library in your HTML file -->
<link rel="stylesheet" href="" type="text/css"/>
<script src=""></script>

<!-- Create a canvas element for the chart with the desired dimensions -->
  <canvas id="canvasId" width="600" height="600"</canvas>

<!-- Create a script to initialize the chart -->

  <!-- Create the data for the graph -->
  var data = {
     "fx" : "sin(x)"
  <-- Create the configuration for the graph -->
  var config = {

  <!-- Call the CanvasXpress function to create the graph -->
  var cX = new CanvasXpress("canvasId", data, config);