Skip to content

Commit

Permalink
wip #302
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkunst committed Apr 27, 2017
1 parent d1500a1 commit bbf0b78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/api-hc-hc_add_series.R
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ data_to_options <- function(data, type) {
(type == "treemap" & "color" %in% names(data)) | (type == "heatmap")

# series marker enabled
opts$series_marker_enabled <- !(type %in% c("line", "spline"))
# opts$series_marker_enabled <- !(type %in% c("line", "spline"))

# heatmap
if (type == "heatmap") {
Expand Down
3 changes: 1 addition & 2 deletions R/hchart.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ hchart.data.frame <- function(object, type = NULL, mapping = hcaes(), ...){
categories = opts$yAxis_categories) %>%
hc_plotOptions(
series = list(
showInLegend = opts$series_plotOptions_showInLegend,
marker = list(enabled = opts$series_marker_enabled)
showInLegend = opts$series_plotOptions_showInLegend
),
scatter = list(marker = list(symbol = "circle"))
)
Expand Down

0 comments on commit bbf0b78

Please sign in to comment.