Skip to content

Graphs can incorrectly show as 'Empty Graph' #3579

@YongBoLiu

Description

@YongBoLiu

Describe the bug

A clear and concise description of what the bug is.
The graph title can be set as 'Reg |query_region| - Project |query_project| - |query_feature| - xxx', if user only set query_project and query_feature, not set query_region.
The graph title show as 'Empty Graph'. It is weird to users.

Users prefer to 'Reg |query_region| - Project project1 - feature1- xxx' than 'Empty Graph'. And sometimes users may set the |query_region| after graph created.

To Reproduce

  1. Add a graph template , set the title as 'Reg |query_region| - Project |query_project| - |query_feature| - xxx'.

  2. Add a data query, associate the graph template to the data query.

  3. User set the query_project and query_feature, but not set query_region.

  4. After graphs created, all the graphs base on the 'Reg |query_region| - Project |query_project| - |query_feature| - xxx', show as 'Empty Graph'.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

  • OS: [e.g. iOS]

  • Browser [e.g. chrome, safari]

  • Version [e.g. 22]

Smartphone (please complete the following information)

  • Device: [e.g. iPhone6]

  • OS: [e.g. iOS8.1]

  • Browser [e.g. stock browser, safari]
    firefox 60.5

  • Version [e.g. 22]

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions