Skip to content

[Wordcloud] Replace kibana tagcloud with es-charts  #1156

Closed
@stratoula

Description

Is your feature request related to a problem? Please describe.
I am currently working on replacing the kibana tagcloud viz with es-charts and I want to report some gaps that exist between the two implementations that need to be addressed.

  • onElementClick: I want to be able to click on a word and get the clicked value. Right now I get:
{
    "smAccessorValue": "",
    "groupByRollup": "Word count",
    "value": 9,
    "sortIndex": 0,
    "path": [],
    "depth": 0
}

every time I click a word. I would like to get the clicked term. This is needed because we want to trigger the filter action every time a term is clicked.. Moreover, I see that the click event is triggered everywhere and not only when I click a term. (I am fine with it as soon as no term is returned when I click on a blank space).

  • I need to be able to display/hide the label. This label comes from the configuration. It contains the bucket field, the ordering and the metric. I could construct it on the kibana side and just pass it as a prop to the chart. We can further discuss it.

tagcloud

  • Functional tests. I need to check for the following conditions:
  • get all the rendered terms
  • get the font sizes per term
  • be able to select a tag and click it (I can overpass it by clicking a hardcoded x and y but if we can have this info would be awesome)

Kibana Cross Issues
elastic/kibana#95539

Checklist

Delete any items that are not applicable to this feature request.

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present

Metadata

Assignees

No one assigned

    Labels

    :wordcloudWordcloud related issuesenhancementNew feature or requestkibana cross issueHas a Kibana issue counterpartreleasedIssue released publicly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions