question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to point (not select) a certain datum?

See original GitHub issue

Description

Even if selection.enabled: false, data can be pointed like the below: Screen Shot 2020-01-20 at 2 06 29 PM

Is there any way to point(not select) a certain datum with billboard.js API?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
netilcommented, Jan 21, 2020

@softage0, IMO you misunderstood the meaning of “selection”.

The normal interaction behaves as:

  • For mouse supported environment: When users mouseover on data point, it will expand data point & show tooltip
  • For touch supported environment: When users touch on data point, it will expand data point & show tooltip.

If you want to make to not interact based on users’ event, you can use interaction.enabled=false option, but in that case will not be able to make data points to expand nor tooltip show, because they’re enabled when interaction.enable=true case.

One possible workaround on this is,

  • Set chart element to not receive users’ event by setting
.bb-event-rects {
    pointer-events: none;
}
  • And use .tooltip.show() API to show tooltip
// it will show tooltip & expand data point where x Axis value is '2020-01-15'
chart.tooltip.show({x: new Date("2020-01-15 00:00:00")});

Try calling .tooltip.show from the console from the below example

0reactions
softage0commented, Jan 21, 2020

Oh, I didn’t know it works a different way depends on environments. I used it in the mobile-emulated environment so I didn’t know it works that way.

Thanks for your advice and I solved the issue with .tooltip.show() API.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Datum Feature | GD&T Basics - GDandTBasics.com
It is important though that datum features are indicated correctly on the drawing to ensure that the right type of feature is being...
Read more >
circle/arc datum selectable in all orthographic views but not ...
Any data point in a polygon or slot, linked to a line element, cannot be selected, no snaps. In contrast data points linked...
Read more >
Spot Weld - Can Not Select Datum Point for Location
I'm trying to create a Spot Weld in CREO 2.0. I've created the Datum Point... but I can't select it for my Location....
Read more >
Modify Point Datum in Survey Data Base - Civil 3D
Open Properties Palette > Prospector of Toolspace > Point Groups > Rt. click on Wetland point group > Select > Properties Palette >...
Read more >
GD&T Datums, Reference Frames, & Part Immobilization
LECTURE 02MEEN 426 - GD&T Playlist:https://www.youtube.com/playlist?list=PL1IHA35xY5H7HomHQY9nDwifWYvH_Aa1nThis lecture was recorded on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found