Billboard.js: Is there a way to disable event rects?

Created on 17 Jun 2019  Â·  5Comments  Â·  Source: naver/billboard.js

question

Most helpful comment

@AyshvaryaLaxmiK, maybe this help on your needs.
Try disable interaction, and <rect class=" bb-event-rect> element won't be generated.

interaction: {
    enabled: false
}

All 5 comments

Hi @AyshvaryaLaxmiK, could you be more specific?
If you're trying to disable the interaction you can do with interaction.enabled option.

Hi!
I am trying to optimise my code and the chart generation time taken is
about 2.5 seconds . I want to minimize this to least 1 second.Hence I want
to stop the generation of event rects.This there anyway I could only
generate the chart and not the event rects?
Thanks in advance

On Mon, Jun 17, 2019 at 11:27 AM Jae Sung Park notifications@github.com
wrote:

Hi @AyshvaryaLaxmiK https://github.com/AyshvaryaLaxmiK, could you be
more specific?
If you're trying to disable the interaction you can do with
interaction.enabled
https://naver.github.io/billboard.js/release/latest/doc/Options.html#.interaction
option.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/naver/billboard.js/issues/937?email_source=notifications&email_token=AMENGIF423KBDVV4XGWBMUTP24RTTA5CNFSM4HYTDI7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX2DTHY#issuecomment-502544799,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMENGIBIVIGUBC4B3VFOEU3P24RTTANCNFSM4HYTDI7A
.

PFA-chart generated

The total generation time of this chart after invoking bb.generate()
function is 9.619 seconds.
Is there anyway to reduce this time to 1 second?

On Tue, Jun 18, 2019 at 3:53 PM Ayshvarya Laxmi K ayshvarya@facilio.com
wrote:

Hi!
I am trying to optimise my code and the chart generation time taken is
about 2.5 seconds . I want to minimize this to least 1 second.Hence I want
to stop the generation of event rects.This there anyway I could only
generate the chart and not the event rects?
Thanks in advance

On Mon, Jun 17, 2019 at 11:27 AM Jae Sung Park notifications@github.com
wrote:

Hi @AyshvaryaLaxmiK https://github.com/AyshvaryaLaxmiK, could you be
more specific?
If you're trying to disable the interaction you can do with
interaction.enabled
https://naver.github.io/billboard.js/release/latest/doc/Options.html#.interaction
option.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/naver/billboard.js/issues/937?email_source=notifications&email_token=AMENGIF423KBDVV4XGWBMUTP24RTTA5CNFSM4HYTDI7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX2DTHY#issuecomment-502544799,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMENGIBIVIGUBC4B3VFOEU3P24RTTANCNFSM4HYTDI7A
.

@AyshvaryaLaxmiK, I can't help without any details.
At least provide some generation code or reproducible online fiddle to examine some possible solution.

@AyshvaryaLaxmiK, maybe this help on your needs.
Try disable interaction, and <rect class=" bb-event-rect> element won't be generated.

interaction: {
    enabled: false
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

SoYoung210 picture SoYoung210  Â·  5Comments

eweap picture eweap  Â·  5Comments

davidhund picture davidhund  Â·  5Comments

elielr01 picture elielr01  Â·  3Comments

matthiaskomarek picture matthiaskomarek  Â·  4Comments