datastorm-open / rAmCharts

API for Amcharts
48 stars 17 forks source link

example for amGanttChart #57

Closed jwang-lilly closed 8 years ago

jwang-lilly commented 8 years ago

Hi, Could you please provide an example for amGanttChart? Someone filed an issue for this question and was directed to complex function inst/shiny. Among the shiny examples, amGanttChart is not included. Please advise! https://github.com/datastorm-open/rAmCharts/issues/14

TitouanRobert commented 8 years ago

Hi,

We develop a new function for gantt, you can see code in folder rAmCharts\dev\amFunctions. This function is actualy in developpement, make a copy if you use it. No-regression is not provided as long as this function is in folder dev.

Regards, Titouan

jwang-lilly commented 8 years ago

This is fantastic! Thanks much. Just a quick question, when I call the function like the following, amGantt(data_gantt, zoom=TRUE, legend=TRUE, scrollbar=TRUE) The legend and scrollbar do not show up. When I modified amGantt with setChartScrollbar(), scrollbar only shows for the y axis. How can I have scrollbar for the x axis – time axis

-Jian

From: TitouanRobert [mailto:notifications@github.com] Sent: Wednesday, July 27, 2016 12:03 PM To: datastorm-open/rAmCharts Cc: Jian WJ Wang; Author Subject: Re: [datastorm-open/rAmCharts] example for amGanttChart (#57)

Hi,

We develop a new function for gantt, you can see code in folder rAmCharts\dev\amFunctions. This function is actualy in developpement, make a copy if you use it. No-regression is not provided as long as this function is in folder dev.

Regards, Titouan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/datastorm-open/rAmCharts/issues/57#issuecomment-235633631, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA8g6P68UWTlpqVJpHCoFryQgS4Iwloks5qZ4E0gaJpZM4JUyL.

jwang-lilly commented 8 years ago

Titouan: Could you please advise on enabling scrolling on x axis? Thanks, -Jian

From: TitouanRobert [mailto:notifications@github.com] Sent: Wednesday, July 27, 2016 12:03 PM To: datastorm-open/rAmCharts Cc: Jian WJ Wang; Author Subject: Re: [datastorm-open/rAmCharts] example for amGanttChart (#57)

Hi,

We develop a new function for gantt, you can see code in folder rAmCharts\dev\amFunctions. This function is actualy in developpement, make a copy if you use it. No-regression is not provided as long as this function is in folder dev.

Regards, Titouan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/datastorm-open/rAmCharts/issues/57#issuecomment-235633631, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA8g6P68UWTlpqVJpHCoFryQgS4Iwloks5qZ4E0gaJpZM4JUyL.

TitouanRobert commented 8 years ago

Hi, new version of amGantt and amOptions is commit : amGantt(data_gantt) data_gantt$legend <- c("category 1", "category 2", "category 1", "category 2", "category 1") amGantt(data_gantt, valuescrollbar = TRUE) amGantt(data_gantt, valuescrollbar = TRUE, valuescrollbarHeight = 50)

Regards, Titouan

jwang-lilly commented 8 years ago

library(rAmCharts) ?amGantt() Error in .helpForCall(topicExpr, parent.frame()) : no methods for ‘amGantt’ and no documentation for it as a function

sessionInfo() [1] rAmCharts_2.1.0

Have you exported amGantt()?

jwang-lilly commented 8 years ago

Thanks much Titouan. I will give it a try. Could you please also take a look at issue 59. -Jian

From: TitouanRobert [mailto:notifications@github.com] Sent: Wednesday, August 03, 2016 8:19 AM To: datastorm-open/rAmCharts Cc: Jian WJ Wang; Author Subject: Re: [datastorm-open/rAmCharts] example for amGanttChart (#57)

Hi, new version of amGantt and amOptions is commit : amGantt(data_gantt) data_gantt$legend <- c("category 1", "category 2", "category 1", "category 2", "category 1") amGantt(data_gantt, valuescrollbar = TRUE) amGantt(data_gantt, valuescrollbar = TRUE, valuescrollbarHeight = 50)

Regards, Titouan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/datastorm-open/rAmCharts/issues/57#issuecomment-237221377, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA8g6H2k7JsuEQDjU-dlLG3vIqnYpF9cks5qcIdBgaJpZM4JUyL_.

jwang-lilly commented 8 years ago

Titouan: Could you export the function? Thanks, -Jian

From: TitouanRobert [mailto:notifications@github.com] Sent: Wednesday, August 03, 2016 8:19 AM To: datastorm-open/rAmCharts Cc: Jian WJ Wang; Author Subject: Re: [datastorm-open/rAmCharts] example for amGanttChart (#57)

Hi, new version of amGantt and amOptions is commit : amGantt(data_gantt) data_gantt$legend <- c("category 1", "category 2", "category 1", "category 2", "category 1") amGantt(data_gantt, valuescrollbar = TRUE) amGantt(data_gantt, valuescrollbar = TRUE, valuescrollbarHeight = 50)

Regards, Titouan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/datastorm-open/rAmCharts/issues/57#issuecomment-237221377, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA8g6H2k7JsuEQDjU-dlLG3vIqnYpF9cks5qcIdBgaJpZM4JUyL_.

TitouanRobert commented 8 years ago

This function is actualy in developpement, we can't export. We will add others parameters and make test.

Regards, Titouan

jwang-lilly commented 8 years ago

Thanks much. -Jian

From: TitouanRobert [mailto:notifications@github.com] Sent: Wednesday, August 03, 2016 12:55 PM To: datastorm-open/rAmCharts Cc: Jian WJ Wang; Author Subject: Re: [datastorm-open/rAmCharts] example for amGanttChart (#57)

This function is actualy in developpement, we can't export. We will add others parameters and make test.

Regards, Titouan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/datastorm-open/rAmCharts/issues/57#issuecomment-237281347, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA8g6KiZMY-aDL-jBtVegijK873KoR4kks5qcMf0gaJpZM4JUyL_.