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

Histogram display badly lines #466

Closed
dadoonet opened this issue Sep 6, 2013 · 0 comments · Fixed by #468
Closed

Histogram display badly lines #466

dadoonet opened this issue Sep 6, 2013 · 0 comments · Fixed by #468
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@dadoonet
Copy link
Member

dadoonet commented Sep 6, 2013

Heya,

I inject 1.000.000 docs in an ES cluster.
Docs look like:

{
   "doc":{
      "id":36478,
      "name":"Malia Maxence",
      "dateOfBirth":"1993-12-03",
      "gender":"female",
      "created":null,
      "meta":{
         "id":null,
         "cars":null,
         "shoes":null,
         "toys":null,
         "fashion":null,
         "music":null,
         "garden":null,
         "electronic":null,
         "hifi":null,
         "food":null
      },
      "address":{
         "id":null,
         "country":"England",
         "zipcode":"86767",
         "city":"Liverpool",
         "countrycode":"GB"
      }
   },
   "meta":{
      "id":"person:36478",
      "rev":"1-000000377ae983e70000000000000000",
      "expiration":0,
      "flags":0
   }
}

Basically, I generate randomly 1.000.000 docs with random birthdates.

When I create an histogram, using Lines instead of Bars, it produces strange results:

kibana 3 at 17 41 00

Here is the dashboard:

{
  "title": "Introduction",
  "services": {
    "query": {
      "idQueue": [
        1,
        2,
        3,
        4
      ],
      "list": {
        "0": {
          "query": "*",
          "alias": "all",
          "color": "#7EB26D",
          "id": 0,
          "pin": false,
          "type": "lucene"
        }
      },
      "ids": [
        0
      ]
    },
    "filter": {
      "idQueue": [
        0,
        1,
        2
      ],
      "list": {},
      "ids": []
    }
  },
  "rows": [
    {
      "title": "Intro",
      "height": "100px",
      "editable": true,
      "collapse": false,
      "collapsable": true,
      "panels": [
        {
          "error": false,
          "span": 9,
          "editable": true,
          "group": [
            "default"
          ],
          "type": "text",
          "mode": "markdown",
          "content": "From SQL to NoSQL\n================\n\nThis demo illustrates how to make sense of your (BIG) data!\n\nSee also [SQL2NoSQL Github repository](https://github.com/dadoonet/sql2nosql).",
          "style": {},
          "title": "",
          "status": "Stable"
        },
        {
          "error": false,
          "span": 3,
          "editable": true,
          "type": "dashcontrol",
          "save": {
            "gist": false,
            "elasticsearch": true,
            "local": true,
            "default": true
          },
          "load": {
            "gist": true,
            "elasticsearch": true,
            "local": true
          },
          "hide_control": false,
          "elasticsearch_size": 20,
          "temp": true,
          "ttl_enable": true,
          "temp_ttl": "30d"
        }
      ]
    },
    {
      "title": "Query",
      "height": "150px",
      "editable": true,
      "collapse": false,
      "collapsable": true,
      "panels": [
        {
          "error": false,
          "span": 4,
          "editable": true,
          "type": "query",
          "label": "Search",
          "query": "*",
          "pinned": true,
          "history": [
            "*",
            "joe",
            "john"
          ],
          "remember": 10,
          "title": "Query"
        },
        {
          "error": false,
          "span": 4,
          "editable": true,
          "type": "filtering",
          "title": "Filters"
        },
        {
          "span": 4,
          "editable": true,
          "type": "hits",
          "queries": {
            "mode": "all",
            "ids": [
              0
            ]
          },
          "style": {
            "font-size": "10pt"
          },
          "arrangement": "horizontal",
          "chart": "bar",
          "counter_pos": "above",
          "donut": false,
          "tilt": false,
          "labels": true,
          "spyable": true,
          "title": "Hits"
        }
      ]
    },
    {
      "title": "Analytics",
      "height": "300px",
      "editable": true,
      "collapse": false,
      "collapsable": true,
      "panels": [
        {
          "span": 6,
          "editable": true,
          "type": "histogram",
          "mode": "count",
          "time_field": "doc.dateOfBirth",
          "queries": {
            "mode": "all",
            "ids": [
              0
            ]
          },
          "value_field": null,
          "auto_int": true,
          "resolution": 100,
          "interval": "1y",
          "fill": 3,
          "linewidth": 1,
          "timezone": "browser",
          "spyable": true,
          "zoomlinks": true,
          "bars": false,
          "stack": true,
          "points": false,
          "lines": true,
          "legend": true,
          "x-axis": true,
          "y-axis": true,
          "percentage": false,
          "interactive": true,
          "tooltip": {
            "value_type": "cumulative",
            "query_as_alias": false
          },
          "title": "Date of Birth"
        }
      ]
    },
    {
      "title": "Results",
      "height": "450px",
      "editable": true,
      "collapse": false,
      "collapsable": true,
      "panels": []
    }
  ],
  "editable": true,
  "index": {
    "interval": "none",
    "pattern": "[logstash-]YYYY.MM.DD",
    "default": "person"
  },
  "style": "dark",
  "failover": false
}

Note I don't use any time picker but I don't think there is any relation to this.

@spalger spalger mentioned this issue Sep 6, 2013
spalger pushed a commit that referenced this issue Sep 17, 2013
wajihaparvez added a commit that referenced this issue Sep 23, 2024
## Summary

Added screenshots and gifs to the [Use and Filter
Dashboards](https://www.elastic.co/guide/en/kibana/master/_use_and_filter_dashboards.html)
page as part of the ongoing project to add more visuals to the
Dashboards docs.

Rel:[#457](elastic/platform-docs-team#457) and
[#466](elastic/platform-docs-team#466)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Sep 23, 2024
)

## Summary

Added screenshots and gifs to the [Use and Filter
Dashboards](https://www.elastic.co/guide/en/kibana/master/_use_and_filter_dashboards.html)
page as part of the ongoing project to add more visuals to the
Dashboards docs.

Rel:[elastic#457](elastic/platform-docs-team#457) and
[elastic#466](elastic/platform-docs-team#466)

(cherry picked from commit 1cd0531)
kibanamachine added a commit that referenced this issue Sep 23, 2024
…) (#193746)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Docs] Add visuals to the Use and Filter Dashboards page
(#193489)](#193489)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"wajihaparvez","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-23T15:54:27Z","message":"[Docs]
Add visuals to the Use and Filter Dashboards page (#193489)\n\n##
Summary\r\n\r\nAdded screenshots and gifs to the [Use and
Filter\r\nDashboards](https://www.elastic.co/guide/en/kibana/master/_use_and_filter_dashboards.html)\r\npage
as part of the ongoing project to add more visuals to the\r\nDashboards
docs.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)","sha":"1cd0531a6a27246a2f3d268f5d37067639fd9479","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","v8.16.0","backport:version"],"title":"[Docs]
Add visuals to the Use and Filter Dashboards
page","number":193489,"url":"https://github.com/elastic/kibana/pull/193489","mergeCommit":{"message":"[Docs]
Add visuals to the Use and Filter Dashboards page (#193489)\n\n##
Summary\r\n\r\nAdded screenshots and gifs to the [Use and
Filter\r\nDashboards](https://www.elastic.co/guide/en/kibana/master/_use_and_filter_dashboards.html)\r\npage
as part of the ongoing project to add more visuals to the\r\nDashboards
docs.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)","sha":"1cd0531a6a27246a2f3d268f5d37067639fd9479"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193489","number":193489,"mergeCommit":{"message":"[Docs]
Add visuals to the Use and Filter Dashboards page (#193489)\n\n##
Summary\r\n\r\nAdded screenshots and gifs to the [Use and
Filter\r\nDashboards](https://www.elastic.co/guide/en/kibana/master/_use_and_filter_dashboards.html)\r\npage
as part of the ongoing project to add more visuals to the\r\nDashboards
docs.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)","sha":"1cd0531a6a27246a2f3d268f5d37067639fd9479"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: wajihaparvez <[email protected]>
wajihaparvez added a commit that referenced this issue Oct 3, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 3, 2024
…cy edits (elastic#194765)

## Summary

Added visuals to the [Panels and
Visualizations](https://www.elastic.co/guide/en/kibana/master/_panels_and_visualizations.html)
pages + made some consistency edits to the text.

Rel:[elastic#457](elastic/platform-docs-team#457) and
[elastic#466](elastic/platform-docs-team#466)

(cherry picked from commit 29db0bc)
kibanamachine added a commit that referenced this issue Oct 3, 2024
…sistency edits (#194765) (#194850)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Docs] Add visuals to the Panels and Visualizations pages +
consistency edits
(#194765)](#194765)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"wajihaparvez","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-03T14:48:44Z","message":"[Docs]
Add visuals to the Panels and Visualizations pages + consistency edits
(#194765)\n\n## Summary\r\n\r\nAdded visuals to the [Panels
and\r\nVisualizations](https://www.elastic.co/guide/en/kibana/master/_panels_and_visualizations.html)\r\npages
+ made some consistency edits to the
text.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)","sha":"29db0bc3ece63e242748006cee1b05755a305307","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","v8.16.0","backport:version"],"title":"[Docs]
Add visuals to the Panels and Visualizations pages + consistency
edits","number":194765,"url":"https://github.com/elastic/kibana/pull/194765","mergeCommit":{"message":"[Docs]
Add visuals to the Panels and Visualizations pages + consistency edits
(#194765)\n\n## Summary\r\n\r\nAdded visuals to the [Panels
and\r\nVisualizations](https://www.elastic.co/guide/en/kibana/master/_panels_and_visualizations.html)\r\npages
+ made some consistency edits to the
text.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)","sha":"29db0bc3ece63e242748006cee1b05755a305307"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194765","number":194765,"mergeCommit":{"message":"[Docs]
Add visuals to the Panels and Visualizations pages + consistency edits
(#194765)\n\n## Summary\r\n\r\nAdded visuals to the [Panels
and\r\nVisualizations](https://www.elastic.co/guide/en/kibana/master/_panels_and_visualizations.html)\r\npages
+ made some consistency edits to the
text.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)","sha":"29db0bc3ece63e242748006cee1b05755a305307"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: wajihaparvez <[email protected]>
tiansivive pushed a commit to tiansivive/kibana that referenced this issue Oct 7, 2024
wajihaparvez added a commit that referenced this issue Oct 7, 2024
…cy edits (#195152)

## Summary

Updated visuals on the [Manage and Share
Dashboards](https://www.elastic.co/guide/en/kibana/master/_manage_dashboards.html)
pages and
[Tutorials](https://www.elastic.co/guide/en/kibana/master/_tutorials.html)
+ made some consistency edits to the text.

Rel:[#457](elastic/platform-docs-team#457) and
[#466](elastic/platform-docs-team#466)

---------

Co-authored-by: florent-leborgne <[email protected]>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 7, 2024
…cy edits (elastic#195152)

## Summary

Updated visuals on the [Manage and Share
Dashboards](https://www.elastic.co/guide/en/kibana/master/_manage_dashboards.html)
pages and
[Tutorials](https://www.elastic.co/guide/en/kibana/master/_tutorials.html)
+ made some consistency edits to the text.

Rel:[elastic#457](elastic/platform-docs-team#457) and
[elastic#466](elastic/platform-docs-team#466)

---------

Co-authored-by: florent-leborgne <[email protected]>
(cherry picked from commit 296a49c)
kibanamachine added a commit that referenced this issue Oct 7, 2024
… consistency edits (#195152) (#195286)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Update visuals on Manage &amp; Share Dashboards and Tutorials +
consistency edits
(#195152)](#195152)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"wajihaparvez","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-07T15:36:07Z","message":"Update
visuals on Manage & Share Dashboards and Tutorials + consistency edits
(#195152)\n\n## Summary\r\n\r\nUpdated visuals on the [Manage and
Share\r\nDashboards](https://www.elastic.co/guide/en/kibana/master/_manage_dashboards.html)\r\npages
and\r\n[Tutorials](https://www.elastic.co/guide/en/kibana/master/_tutorials.html)\r\n+
made some consistency edits to the
text.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)\r\n\r\n---------\r\n\r\nCo-authored-by:
florent-leborgne
<[email protected]>","sha":"296a49cbc82f9a649b92b2f6c635729bd416e717","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","v8.16.0","backport:version"],"title":"Update
visuals on Manage & Share Dashboards and Tutorials + consistency
edits","number":195152,"url":"https://github.com/elastic/kibana/pull/195152","mergeCommit":{"message":"Update
visuals on Manage & Share Dashboards and Tutorials + consistency edits
(#195152)\n\n## Summary\r\n\r\nUpdated visuals on the [Manage and
Share\r\nDashboards](https://www.elastic.co/guide/en/kibana/master/_manage_dashboards.html)\r\npages
and\r\n[Tutorials](https://www.elastic.co/guide/en/kibana/master/_tutorials.html)\r\n+
made some consistency edits to the
text.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)\r\n\r\n---------\r\n\r\nCo-authored-by:
florent-leborgne
<[email protected]>","sha":"296a49cbc82f9a649b92b2f6c635729bd416e717"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195152","number":195152,"mergeCommit":{"message":"Update
visuals on Manage & Share Dashboards and Tutorials + consistency edits
(#195152)\n\n## Summary\r\n\r\nUpdated visuals on the [Manage and
Share\r\nDashboards](https://www.elastic.co/guide/en/kibana/master/_manage_dashboards.html)\r\npages
and\r\n[Tutorials](https://www.elastic.co/guide/en/kibana/master/_tutorials.html)\r\n+
made some consistency edits to the
text.\r\n\r\nRel:[#457](elastic/platform-docs-team#457)
and\r\n[#466](https://github.com/elastic/platform-docs-team/issues/466)\r\n\r\n---------\r\n\r\nCo-authored-by:
florent-leborgne
<[email protected]>","sha":"296a49cbc82f9a649b92b2f6c635729bd416e717"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: wajihaparvez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant