R/tmapLeafletComp_charts.R

Defines functions tmapLeafletLegPlot.tm_chart tmapLeafletLegPlot.tm_chart_histogram tmapLeafletCompHeight.tm_chart tmapLeafletCompWidth.tm_chart tmapLeafletCompPrepare.tm_chart_none tmapLeafletCompPrepare.tm_chart

#' @method tmapLeafletCompPrepare tm_chart
#' @export
tmapLeafletCompPrepare.tm_chart = function(comp, o) {
	message("charts not implemented in view mode")
	comp
}

#' @method tmapLeafletCompPrepare tm_chart_none
#' @export
tmapLeafletCompPrepare.tm_chart_none = function(comp, o) {
	comp
}


#' @method tmapLeafletCompWidth tm_chart
#' @export
tmapLeafletCompWidth.tm_chart = function(comp, o) {
	comp
}

#' @method tmapLeafletCompHeight tm_chart
#' @export
tmapLeafletCompHeight.tm_chart = function(comp, o) {
	comp
}

#' @method tmapLeafletLegPlot tm_chart_histogram
#' @export
tmapLeafletLegPlot.tm_chart_histogram = function(comp, lf, o) {
	lf
}
#' @method tmapLeafletLegPlot tm_chart
#' @export
tmapLeafletLegPlot.tm_chart = function(comp, lf, o) {
	lf
}
r-tmap/tmap documentation built on July 8, 2024, 12:43 a.m.