This is successful.
for(var i = 0; i < sampleData.length; i++)
sampledata[i] = list[i];
but
It will fail.
sampleData = list;
Below is the setting.
settings = {
title: false,//”Line : 1″, // 차트 제목
description: false, // 제목 설명
enableAnimations: false,
showLegend: true,
legendLayout: {
left: 325,
top: 155,
width: 300,
height: 200,
padding:50,
flow: ‘vertical’
},
padding: { left: 5, top: 10, right: 15, bottom: 10 },
//titlePadding: { left: 0, top: 0, right: 0, bottom: 10 },
//borderLineColor: “black”,
borderLineWidth: 0,
source: sampleData,
colorScheme: ‘scheme05’,
xAxis: {
dataField: ‘Chart’,
unitInterval: 10,
///………………………