| AmChart-class | R Documentation |
Defines the AmChart properties.
API for plotting AmChart with R.
allLabelslist of Label.
Example of a label object, with all possible properties:
label(x = 20, y = 20, text = "this is a label", align = "left", size = 12, color = "#CC0000",
alpha = 1, rotation = 0, bold = TRUE, url = "http=//www.amcharts.com").
Run api("Label") for more informations.
arrowslist of GaugeArrow. Only valid for gauge charts.
Run api("GaugeArrow") for more informations.
axeslist of GaugeAxis properties.
Only valid for gauge charts.
Run api("GaugeAxis") for more informations.
balloonAmBalloon.
Creates the balloons (tooltips) of the chart,
It follows the mouse cursor when you roll-over the data items.
The framework generates the instances automatically you just have to adjust
the appearance to your needs.
Run api("AmBalloon") for more informations.
categoryAxisCategoryAxis.
Read-only. Chart creates category axis itself.
If you want to change some properties,
you should get this axis from the chart and set properties to this object.
Run api("CategoryAxis") for more informations.
categoryFieldcharacter.
Category field name indicates the name of the field in your dataProvider object
which will be used for category axis values.
ChartCursorChartCursor.
Chart's cursor.
Run api("ChartCursor") for more informations.
ChartScrollbarChartScrollbar.
Chart's scrollbar.
Run api("ChartScrollbar") for more informations.
creditsPositioncharacter,
specifies position of the amCharts' website link.
Allowed values are: "top-left", "top-right", "bottom-left" and "bottom-right".
dataProviderdata.frame, containing the data.
graphslist of AmGraph.
Creates the visualization of the data in following types: line, column, step line,
smoothed line, olhc and candlestick.
Run api("AmGraph") for more informations.
graphAmGraph.
Only valid for Gantt charts.
Gant chart actually creates multiple graphs (separate for each segment).
Properties of this graph are passed to each of the created graphs
- this allows you to control the look of segments.
Run api("AmGraph") for more informations.
guideslist of Guide.
Instead of adding guides to the axes, you can push all of them to this array.
In case guide has category or date defined, it will automatically be assigned to the category axis,
otherwise to the first value axis, unless you specify a different valueAxes for the guide.
Run api("Guide") for more informations.
legendAmLegend.
Legend of a chart.
Run api("AmLegend") for more informations.
segmentsFieldcharacter.
Segments field in your data provider.
Only valid for Gantt Charts.
subChartPropertieslist.
Only valid for Drilldown charts.
themecharacter.
Theme of a chart. Config files of themes can be found in amcharts/themes/ folder.
See https://www.amcharts.com/docs/v3/tutorials/working-with-themes/.
titleslist of Title.
Run api("Title") for more informations.
trendLineslist of TrendLine objects added to a chart.
You can add trend lines to a chart using this list or access already existing trend lines.
Run api("TrendLine") for more informations.
typecharacter.
Possible types are: "serial", "pie", "radar", "xy", "radar", "funnel", "gauge", "stock".
See details about using argument type.
(type map is in development).
valueAxeslist of ValueAxis.
Chart creates one value axis automatically,
so if you need only one value axis, you don't need to create it.
Run api("ValueAxis") for more informations.
valueAxisValueAxis.
Only valid for Gantt Charts.
Set it's type to "date" if your data is date or time based.
Run api("ValueAxis") for more informations.
valueScrollbarChartScrollbar. Value scrollbar, enables scrolling value axes.
listenerslist containining the listeners to add to the object.
The list must be named as in the official API. Each element must be a character string.
Run runShinyExamples() for examples.
otherPropertieslist
containing other avalaible properties not yet implemented in the package.
valuenumeric.
https://docs.amcharts.com/3/javascriptcharts/
# Run runShinyExamples() for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.