addSubData(.Object, categoryIDs, data)## S3 method for class 'AmChart,numeric,data.frame':
addSubData(.Object, categoryIDs, data)
AmChart .numeric (vector or simple value).
Indicates corresponding indice(s) of the dataProvider where to add the data.data.frame. Data to draw at the second level,
after clicking on the serial / column..Object = AmChart,categoryIDs = numeric,data = data.frame:addArrow,
addArrow,AmChart-method;
addAxe,
addAxe,AmChart-method;
addGraph,
addGraph,AmChart-method;
addGuide,AmChart-method;
addLabel,
addLabel,AmChart-method;
addSegment,
addSegment,AmChart,numeric-method;
addTitle,
addTitle,AmChart-method;
addTrendLine,
addTrendLine,AmChart-method;
addValueAxes,
addValueAxes,AmChart-method;
setAllLabels,
setAllLabels,AmChart,list-method;
setArrows,
setArrows,AmChart-method;
setAxes,
setAxes,AmChart,list-method;
setBalloon,
setBalloon,AmChart-method;
setCategoryAxis,
setCategoryAxis,AmChart-method;
setCategoryField,
setCategoryField,AmChart,character-method;
setChartCursor,
setChartCursor,AmChart-method;
setChartScrollbar,
setChartScrollbar,AmChart-method;
setCreditsPosition,
setCreditsPosition,AmChart,character-method;
setDataProvider,AmChart,data.frame-method;
setExport,
setExport,AmChart-method;
setGraph,AmChart-method;
setGraphs,
setGraphs,AmChart,list-method;
setGuides,
setGuides,AmChart,list-method;
setLegend,
setLegend,AmChart-method;
setSubChartProperties,
setSubChartProperties,AmChart-method;
setTitles,
setTitles,AmChart,list-method;
setTrendLines,
setTrendLines,AmChart,list-method;
setValueAxes,
setValueAxes,AmChart,list-method;
setValueAxis,AmChart-methodlibrary(pipeR)
amChart(dataProvider = data.frame(a = 1:5, b = 6:10)) %>>%
addSubData(3, data.frame(a = 1:10, b = 11:20))Run the code above in your browser using DataLab