Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create NeoDash Dashboard #13

Open
1 of 3 tasks
newmanrs opened this issue Jun 10, 2021 · 2 comments
Open
1 of 3 tasks

Create NeoDash Dashboard #13

newmanrs opened this issue Jun 10, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@newmanrs
Copy link
Owner

newmanrs commented Jun 10, 2021

Dashboard over the database might be easier to install/use than bloom, and possibly exposable to friends via a web server.

Investigate if NeoDash usable enough to be worthwhile including configs

  • Graph return display usable?
  • Charting features
  • User input of dashboard
@newmanrs
Copy link
Owner Author

newmanrs commented Jun 10, 2021

Made a basic dashboard that shows hops and an ABV bar chart. Json below.

Observed bugs

  • User selection box generate parameter names automatically that are based only on selection box and value with no input field to change names. That means you can't use two selection boxes on same type of node and property field.
  • Barchart has no negative value and axis starts below zero. Barchart shows bars for 0 values as bars are drawn from the min of the axis.

neodash

It's at least easy to use and quite reasonably responsive.

json

{
  "title": "NeoDash ⚡",
  "version": "1.1",
  "editable": true,
  "pagenumber": 0,
  "pages": [
    {
      "title": "Cloudburst beer graph",
      "reports": [
        {
          "title": "Beer ABV graph",
          "width": 12,
          "height": 4,
          "type": "bar",
          "query": "with [x IN range(40,100) | toFloat(x)/10 ] AS abvs\nunwind abvs as abv\noptional match (b:Beer)\nwhere b.abv = abv\nwith abv, count(b) as count\nreturn abv, count\n",
          "page": 18,
          "properties": [],
          "parameters": "",
          "refresh": 0
        },
        {
          "title": "Select hop A",
          "width": 4,
          "height": 4,
          "type": "select",
          "query": "MATCH (n:`Hop`) \nWHERE toLower(toString(n.`name`)) CONTAINS toLower($input) \nRETURN DISTINCT n.`name` as value LIMIT 4",
          "page": 1,
          "properties": [
            "Hop",
            "name"
          ],
          "parameters": "",
          "refresh": 0
        },
        {
          "title": "Display beers with hop A",
          "width": 8,
          "height": 4,
          "type": "graph",
          "query": "match path =(s:Style)-[]-(b:Beer)-[]-(h:Hop)\nwhere h.name = $neodash_hop_name\nreturn path\n",
          "page": 55,
          "properties": [
            "style",
            "name",
            "name"
          ],
          "parameters": "",
          "refresh": 0
        },
        {}
      ]
    }
  ]
}

@newmanrs newmanrs added the enhancement New feature or request label Jun 10, 2021
@newmanrs
Copy link
Owner Author

newmanrs commented Jul 4, 2021

Bar charts starting from 0 are no longer broken - my pull request has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant