Skip to content
New issue

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

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

Already on GitHub? # to your account

Area3D with range on X or Y axis #5

Open
ghost opened this issue Feb 1, 2017 · 6 comments
Open

Area3D with range on X or Y axis #5

ghost opened this issue Feb 1, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Feb 1, 2017

Hi all,

I experiencing an issue when trying to create an area3d vizualization with a "range" on axis X or Y. Here's the error message Kibana is showing :

Uncaught Error: Parameter 'start' is not numeric; value: NaN (http://[...]/bundles/kibana.bundle.js?v=14566:157)
Version: 5.1.1
Build: 14566
Error: Uncaught Error: Parameter 'start' is not numeric; value: NaN (http://[...]/bundles/kibana.bundle.js?v=14566:157)
at window.onerror (http://[...]/bundles/commons.bundle.js?v=14566:69:13503)

Is it actually possible to do that with area3d ?

@JuanCarniglia
Copy link
Owner

This is related to #3 .

I will investigate on this, but it would seem that it is trying to use a Non Numeric value as a Number. Maybe check your fields?

@ghost
Copy link
Author

ghost commented Feb 1, 2017

All fields were checked, i can't find the problem for the moment. If any news pops up i'll mention it. Thanks for your help !

@JuanCarniglia
Copy link
Owner

Can you paste here your view's configuration?

@ghost
Copy link
Author

ghost commented Feb 1, 2017

Sure ! Here it its :

[
{
"_id": "test_3D_vis_error",
"_type": "visualization",
"_source": {
"title": "test_3D_vis_error",
"visState": "{"title":"test_3D_vis_error","type":"area3d","params":{"graphSelect":{"id":"surface","name":"Surface"},"keepAspectRatio":false,"showGrid":true,"showPerspective":true,"showShadow":false,"xLabel":"X","yLabel":"Y","zLabel":"Z"},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"range","schema":"bucket","params":{"field":"field1","ranges":[{"from":0,"to":1000},{"from":1000,"to":2000}]}},{"id":"3","enabled":true,"type":"terms","schema":"split","params":{"field":"field2","size":10000,"order":"desc","orderBy":"_term","row":true}}],"listeners":{}}",
"uiStateJSON": "{"spy":{"mode":{"fill":false,"name":null}}}",
"description": "",
"savedSearchId": "search_1",
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{"filter":[]}"
}
}
}
]

@JuanCarniglia
Copy link
Owner

JuanCarniglia commented Feb 1, 2017 via email

@JuanCarniglia
Copy link
Owner

I just committed a new version of this component with minor changes.

Your aggregations should be done on a NUMERIC field (long). This aggregations are the X / Y positions. Please ensure your properties are valid.

Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant