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.

Add new api to support highlighting edges through action

See original GitHub issue

What problem does this feature solve?

At present, only the nodes of the graph can be highlighted through action. In 4.9.0, you can configure the highlight edge through the edgeDataIndex property of action focusNodeAdjacency. In 5.0.2, the api no longer exists. I hope to add api to support it.

What does the proposed API look like?

dispatchAction({
    type: 'highlight',
    seriesIndex?: number|Array,
    seriesName?: string|Array,
    dataIndex?: number,
    edgeDataIndex?: number,
    name?: string
})

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
pissangcommented, May 26, 2021

        myChart.dispatchAction({
            type: 'highlight',
            dataIndex: 0,
            dataType: 'edge'
        })
0reactions
ppazcommented, Oct 11, 2021

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started with the CSS Custom Highlight API
Using the CSS Custom Highlight API requires three steps: creating the styles in the stylesheet, setting a highlight range, and then applying ...
Read more >
Custom Highlight API · Issue #482 · mozilla/standards-positions
The custom highlight API provides a programmatic way of adding and removing highlights that does not affect the underlying DOM structure, ...
Read more >
Highlight point features | Sample Code - ArcGIS Developers
This sample shows how to highlight features in a layer. Features in SceneLayer, FeatureLayer, CSVLayer, GeoRSSLayer and GraphicsLayer can be highlighted.
Read more >
Highlighting | Elasticsearch Guide [8.5] | Elastic
Highlighters enable you to get highlighted snippets from one or more fields in your search results so you can show users where the...
Read more >
Use Select Highlighting in Westlaw Edge - Thomson Reuters
Use the checkboxes to select one or more terms from the search you performed. By default, Westlaw Edge highlights your entire search query...
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