-
Notifications
You must be signed in to change notification settings - Fork 235
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
adding a pie chart to the panel #306
Comments
Hi. Even I'm facing the same problem. Can you please tell me if this problem was resolved? |
I use solr/banana to integrate with my cassandra for search use case and analytics. I am trying to add a Terms(pie chart) in my banana dashboard. It seems that the pie chart loads only for cartid which is the partition key of my cassandra. If I use other index to display my pie chart, it does not load at all. Can you please help? |
Hi,
I would love to help. Can you please share the code snippet so that I can
re-run the code and check the error.
Thanks,
Bharath
…On Fri, Jul 20, 2018 at 1:14 PM ifancytolearn ***@***.***> wrote:
I use solr/banana to integrate with my cassandra for search use case and
analytics. I am trying to add a Terms(pie chart) in my banana dashboard. It
seems that the pie chart loads only for cartid which is the partition key
of my cassandra. If I use other index to display my pie chart, it does not
load at all.
Can you please help?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#306 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ae1i3WwPBX86-jNhZ7C7QaWL4bVPmcQkks5uIhAHgaJpZM4PJtCb>
.
|
I am new to solr and banana. I have created the module.js, module.html and the editor.html files. But when i tried to run the fie chart on the dash board it gives me an error on the chrome console saying 'pie()' is not a function.
modulejs.txt
/////////////////////////////////////////////////////////////////////
module.js file/////////////////
define([
'angular',
'app',
'underscore',
'jquery',
'kbn',
],
function(angular, app, _, $, kbn, d3, d3tip, d3min) {
'use strict';
alert("after label");
var arc = g.selectAll(".arc")
.data(pie(scope.data))
.enter().append("g")
.attr("class", "arc");
});
The text was updated successfully, but these errors were encountered: