• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
        <meta charset="utf-8">
        <title>ZingSoft Demo</title>
    
        <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
        <style>
            zing-grid[loading] {
                height: 800px;
            }
        </style>
    </head>
    
    <body>
        <div id='myChart'></div>
        <script>
            ZC.LICENSE = ["b55b025e438fa8a98e32482b5f768ff5"];
            var myConfig3 = {
                layout: '3x3',
                graphset: [{
                        type: 'scatter',
                        scaleX: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:10:1',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        scaleY: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:100:25',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        plot: {
                            marker: {
                                backgroundColor: '#0099ff'
                            }
                        },
                        plotarea: {
                            adjustLayout: 'auto'
                        },
                        series: [{
                            values: [
                                [0.9, 3],
                                [2.1, 13],
                                [3.5, 25],
                                [4.9, 35],
                                [5.3, 41],
                                [6.5, 57],
                                [7.1, 61],
                                [8.7, 70],
                                [9.2, 82],
                                [9.9, 95]
                            ]
                        }]
                    },
                    {
                        title: {
                            text: 'Small Multiples',
                            fontFamily: 'Georgia'
                        },
                        subtitle: {
                            text: 'Use the "layout" attribute<br>to specify<br>the number of<br>columns and rows.',
                            fontWeight: 'normal'
                        }
                    },
                    {
                        type: 'scatter',
                        scaleX: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:10:1',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        scaleY: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:100:25',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        plot: {
                            marker: {
                                backgroundColor: '#0099ff'
                            }
                        },
                        plotarea: {
                            adjustLayout: 'auto'
                        },
                        series: [{
                            values: [
                                [0.1, 9],
                                [1.8, 21],
                                [1.9, 29],
                                [4.1, 33],
                                [4.5, 39],
                                [6.9, 51],
                                [7.4, 64],
                                [8.9, 70],
                                [9, 75],
                                [9.3, 93]
                            ]
                        }]
                    },
                    {
                        type: 'scatter',
                        scaleX: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:10:1',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        scaleY: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:100:25',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        plot: {
                            marker: {
                                backgroundColor: '#0099ff'
                            }
                        },
                        plotarea: {
                            adjustLayout: 'auto'
                        },
                        series: [{
                            values: [
                                [0.3, 11],
                                [0.9, 15],
                                [1.1, 24],
                                [2.3, 29],
                                [2.9, 30],
                                [3.3, 35],
                                [5.6, 67],
                                [6.9, 70],
                                [7.3, 71],
                                [8.9, 90]
                            ]
                        }]
                    },
                    {
                        type: 'scatter',
                        scaleX: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:10:1',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        scaleY: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:100:25',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        plot: {
                            marker: {
                                backgroundColor: '#0099ff'
                            }
                        },
                        plotarea: {
                            adjustLayout: 'auto'
                        },
                        series: [{
                            values: [
                                [0.5, 5],
                                [1.9, 5],
                                [2.5, 10],
                                [3.1, 30],
                                [6.5, 45],
                                [6.9, 74],
                                [7.2, 50],
                                [7.8, 56],
                                [8, 61],
                                [8.5, 71]
                            ]
                        }]
                    },
                    {
                        type: 'scatter',
                        scaleX: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:10:1',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        scaleY: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:100:25',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        plot: {
                            marker: {
                                backgroundColor: '#0099ff'
                            }
                        },
                        plotarea: {
                            adjustLayout: 'auto'
                        },
                        series: [{
                            values: [
                                [0.9, 3],
                                [2.1, 13],
                                [3.5, 25],
                                [4.9, 35],
                                [5.3, 41],
                                [6.5, 57],
                                [7.1, 61],
                                [8.7, 70],
                                [9.2, 82],
                                [9.9, 95]
                            ]
                        }]
                    },
                    {
                        type: 'scatter',
                        scaleX: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:10:1',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        scaleY: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:100:25',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        plot: {
                            marker: {
                                backgroundColor: '#0099ff'
                            }
                        },
                        plotarea: {
                            adjustLayout: 'auto'
                        },
                        series: [{
                            values: [
                                [0.1, 9],
                                [1.8, 21],
                                [1.9, 29],
                                [4.1, 33],
                                [4.5, 39],
                                [6.9, 51],
                                [7.4, 64],
                                [8.9, 70],
                                [9, 75],
                                [9.3, 93]
                            ]
                        }]
                    },
                    {
                        type: 'scatter',
                        scaleX: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:10:1',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        scaleY: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:100:25',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        plot: {
                            marker: {
                                backgroundColor: '#0099ff'
                            }
                        },
                        plotarea: {
                            adjustLayout: 'auto'
                        },
                        series: [{
                            values: [
                                [0.3, 11],
                                [0.9, 15],
                                [1.1, 24],
                                [2.3, 29],
                                [2.9, 30],
                                [3.3, 35],
                                [5.6, 67],
                                [6.9, 70],
                                [7.3, 71],
                                [8.9, 90]
                            ]
                        }]
                    },
                    {
                        type: 'scatter',
                        scaleX: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:10:1',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        scaleY: {
                            offsetStart: 5,
                            offsetEnd: 5,
                            values: '0:100:25',
                            item: {
                                fontSize: 8
                            },
                            guide: {
                                lineStyle: 'dotted'
                            }
                        },
                        plot: {
                            marker: {
                                backgroundColor: '#0099ff'
                            }
                        },
                        plotarea: {
                            adjustLayout: 'auto'
                        },
                        series: [{
                            values: [
                                [0.5, 5],
                                [1.9, 5],
                                [2.5, 10],
                                [3.1, 30],
                                [6.5, 45],
                                [6.9, 74],
                                [7.2, 50],
                                [7.8, 56],
                                [8, 61],
                                [8.5, 71]
                            ]
                        }]
                    }
                ]
            };
    
            zingchart.render({
                id: 'myChart',
                data: myConfig3,
                height: 400,
                width: '100%'
            });
        </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    	<head>
        <meta charset="utf-8">
        <title>ZingSoft Demo</title>
    	
    		<script src="https://cdn.zingchart.com/zingchart.min.js"></script>
    </head>
    	<body>
    		<div id='myChart'></div>
    	</body>
    </html>
    
          
    var myConfig3 = {
      layout: '3x3',
      graphset: [
        {
          type: 'scatter',
          scaleX: {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:10:1',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          scaleY : {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:100:25',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          plot: {
            marker: {
              backgroundColor: '#0099ff'
            }
          },
          plotarea: {
            adjustLayout: 'auto'
          },
          series: [
    		    {
    		      values: [
    		        [0.9,3],
    		        [2.1,13],
    		        [3.5,25],
    		        [4.9,35],
    		        [5.3,41],
    		        [6.5,57],
    		        [7.1,61],
    		        [8.7,70],
    		        [9.2,82],
    		        [9.9,95]
    		      ]
    		    }
    		  ]
        },
        {
          title: {
            text: 'Small Multiples',
            fontFamily: 'Georgia'
          },
          subtitle: {
            text: 'Use the "layout" attribute<br>to specify<br>the number of<br>columns and rows.',
            fontWeight: 'normal'
          }
        },
        {
          type: 'scatter',
          scaleX: {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:10:1',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          scaleY : {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:100:25',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          plot: {
            marker: {
              backgroundColor: '#0099ff'
            }
          },
          plotarea: {
            adjustLayout: 'auto'
          },
          series: [
    		    {
    		      values: [
    		        [0.1,9],
    		        [1.8,21],
    		        [1.9,29],
    		        [4.1,33],
    		        [4.5,39],
    		        [6.9,51],
    		        [7.4,64],
    		        [8.9,70],
    		        [9,75],
    		        [9.3,93]
    		      ]
    		    }
    		  ]
        },
        {
          type: 'scatter',
          scaleX: {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:10:1',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          scaleY : {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:100:25',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          plot: {
            marker: {
              backgroundColor: '#0099ff'
            }
          },
          plotarea: {
            adjustLayout: 'auto'
          },
          series: [
    		    {
    		      values: [
    		        [0.3,11],
    		        [0.9,15],
    		        [1.1,24],
    		        [2.3,29],
    		        [2.9,30],
    		        [3.3,35],
    		        [5.6,67],
    		        [6.9,70],
    		        [7.3,71],
    		        [8.9,90]
    		      ]
    		    }
    		  ]
        },
        {
          type: 'scatter',
          scaleX: {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:10:1',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          scaleY : {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:100:25',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          plot: {
            marker: {
              backgroundColor: '#0099ff'
            }
          },
          plotarea: {
            adjustLayout: 'auto'
          },
          series: [
    		    {
    		      values: [
    		        [0.5,5],
    		        [1.9,5],
    		        [2.5,10],
    		        [3.1,30],
    		        [6.5,45],
    		        [6.9,74],
    		        [7.2,50],
    		        [7.8,56],
    		        [8,61],
    		        [8.5,71]
    		      ]
    		    }
    			]
        },
        {
          type: 'scatter',
          scaleX: {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:10:1',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          scaleY : {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:100:25',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          plot: {
            marker: {
              backgroundColor: '#0099ff'
            }
          },
          plotarea: {
            adjustLayout: 'auto'
          },
          series: [
    		    {
    		      values: [
    		        [0.9,3],
    		        [2.1,13],
    		        [3.5,25],
    		        [4.9,35],
    		        [5.3,41],
    		        [6.5,57],
    		        [7.1,61],
    		        [8.7,70],
    		        [9.2,82],
    		        [9.9,95]
    		      ]
    		    }
    		  ]
        },
        {
          type: 'scatter',
          scaleX: {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:10:1',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          scaleY : {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:100:25',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          plot: {
            marker: {
              backgroundColor: '#0099ff'
            }
          },
          plotarea: {
            adjustLayout: 'auto'
          },
          series: [
    		    {
    		      values: [
    		        [0.1,9],
    		        [1.8,21],
    		        [1.9,29],
    		        [4.1,33],
    		        [4.5,39],
    		        [6.9,51],
    		        [7.4,64],
    		        [8.9,70],
    		        [9,75],
    		        [9.3,93]
    		      ]
    		    }
    		  ]
        },
        {
          type: 'scatter',
          scaleX: {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:10:1',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          scaleY : {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:100:25',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          plot: {
            marker: {
              backgroundColor: '#0099ff'
            }
          },
          plotarea: {
            adjustLayout: 'auto'
          },
          series: [
    		    {
    		      values: [
    		        [0.3,11],
    		        [0.9,15],
    		        [1.1,24],
    		        [2.3,29],
    		        [2.9,30],
    		        [3.3,35],
    		        [5.6,67],
    		        [6.9,70],
    		        [7.3,71],
    		        [8.9,90]
    		      ]
    		    }
    		  ]
        },
        {
          type: 'scatter',
          scaleX: {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:10:1',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          scaleY : {
            offsetStart: 5,
            offsetEnd: 5,
            values: '0:100:25',
            item: {
              fontSize: 8
            },
            guide: {
              lineStyle: 'dotted'
            }
          },
          plot: {
            marker: {
              backgroundColor: '#0099ff'
            }
          },
          plotarea: {
            adjustLayout: 'auto'
          },
          series: [
    		    {
    		      values: [
    		        [0.5,5],
    		        [1.9,5],
    		        [2.5,10],
    		        [3.1,30],
    		        [6.5,45],
    		        [6.9,74],
    		        [7.2,50],
    		        [7.8,56],
    		        [8,61],
    		        [8.5,71]
    		      ]
    		    }
    			]
        }
      ]
    };
    
    zingchart.render({ 
    	id : 'myChart', 
    	data : myConfig3, 
    	height: 400, 
    	width: '100%'
    });