Unable to get only Bar Chart and Sum in RpivotTable
up vote
0
down vote
favorite
I only want to have Table, Bar chart as RendererName and Sum coming up in AggregatorName. It is currently not working.
I'm attaching the picture long with codes. Please have a look, i shall be extremely grateful for the help. Thanks
picture
Codes:
library(rpivotTable)
rpivotTable(data = mtcars, subtotal = FALSE, rows = c(
"cyl"),cols=c("carb"),
vals = "mpg",
aggregatorName = "Sum",
rendererName = "Table",
renderers = list(Table=
htmlwidgets::JS('$.pivotUtilities.renderers["Table"]'),
Bar_Chart = htmlwidgets::JS('$.pivotUtilities.renderers["Bar Chart"]')),
aggregators = list(Sum =
htmlwidgets::JS('$.pivotUtilities.aggregators["Sum"]')),
width="50%", height="550px")
r shiny htmlwidgets aggregator rpivottable
add a comment |
up vote
0
down vote
favorite
I only want to have Table, Bar chart as RendererName and Sum coming up in AggregatorName. It is currently not working.
I'm attaching the picture long with codes. Please have a look, i shall be extremely grateful for the help. Thanks
picture
Codes:
library(rpivotTable)
rpivotTable(data = mtcars, subtotal = FALSE, rows = c(
"cyl"),cols=c("carb"),
vals = "mpg",
aggregatorName = "Sum",
rendererName = "Table",
renderers = list(Table=
htmlwidgets::JS('$.pivotUtilities.renderers["Table"]'),
Bar_Chart = htmlwidgets::JS('$.pivotUtilities.renderers["Bar Chart"]')),
aggregators = list(Sum =
htmlwidgets::JS('$.pivotUtilities.aggregators["Sum"]')),
width="50%", height="550px")
r shiny htmlwidgets aggregator rpivottable
Any brilliant mind with an idea?
– Doctor
Nov 12 at 5:31
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I only want to have Table, Bar chart as RendererName and Sum coming up in AggregatorName. It is currently not working.
I'm attaching the picture long with codes. Please have a look, i shall be extremely grateful for the help. Thanks
picture
Codes:
library(rpivotTable)
rpivotTable(data = mtcars, subtotal = FALSE, rows = c(
"cyl"),cols=c("carb"),
vals = "mpg",
aggregatorName = "Sum",
rendererName = "Table",
renderers = list(Table=
htmlwidgets::JS('$.pivotUtilities.renderers["Table"]'),
Bar_Chart = htmlwidgets::JS('$.pivotUtilities.renderers["Bar Chart"]')),
aggregators = list(Sum =
htmlwidgets::JS('$.pivotUtilities.aggregators["Sum"]')),
width="50%", height="550px")
r shiny htmlwidgets aggregator rpivottable
I only want to have Table, Bar chart as RendererName and Sum coming up in AggregatorName. It is currently not working.
I'm attaching the picture long with codes. Please have a look, i shall be extremely grateful for the help. Thanks
picture
Codes:
library(rpivotTable)
rpivotTable(data = mtcars, subtotal = FALSE, rows = c(
"cyl"),cols=c("carb"),
vals = "mpg",
aggregatorName = "Sum",
rendererName = "Table",
renderers = list(Table=
htmlwidgets::JS('$.pivotUtilities.renderers["Table"]'),
Bar_Chart = htmlwidgets::JS('$.pivotUtilities.renderers["Bar Chart"]')),
aggregators = list(Sum =
htmlwidgets::JS('$.pivotUtilities.aggregators["Sum"]')),
width="50%", height="550px")
r shiny htmlwidgets aggregator rpivottable
r shiny htmlwidgets aggregator rpivottable
edited Nov 12 at 5:30
asked Nov 10 at 22:14
Doctor
114
114
Any brilliant mind with an idea?
– Doctor
Nov 12 at 5:31
add a comment |
Any brilliant mind with an idea?
– Doctor
Nov 12 at 5:31
Any brilliant mind with an idea?
– Doctor
Nov 12 at 5:31
Any brilliant mind with an idea?
– Doctor
Nov 12 at 5:31
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53243956%2funable-to-get-only-bar-chart-and-sum-in-rpivottable%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Any brilliant mind with an idea?
– Doctor
Nov 12 at 5:31