on 12-09-2008 5:23 PM
Hello,
I try to develop a analytics graphic, but i have a problem.
I put one AnalyticsGraphic in my view, this graphic is a pie type, and have information about Customer sells.
When i click in some part of this graphic, other graphic must be open with information about sells in the last 12 months by this customer.
But when i click in the first graphic, nothing happen. I 've created a onSelectCategory event in the first graphic, but whem i click this method isn't executed.
I am using NWDS 7.1 ehp,
can anyone help me?
Hi Marcos,
it should work. I checked it using the Trial version - with a Pie - and it worked. What is your event handler doing?
kind regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Stefanie.
In my event handler i change the data in context node to the selected customer data.
But the event don't execute. I put one message, and i try to debug but the event don't execute.
But i execute the sample tha i found. And this sample works. That is very strange.
I've compare my component with the example component, and both is equivalent, there are a diference only in the way that i get the data. In the sample the data is static, im my component the data is populate by model.
regards.
Yes, i could
The context:
\\ GraphicOrder(Node)
customer
total
\\ OrderByMonth(Node)
monthName
jan
feb
...
dec
I populate this context by a model.
The UI hierarchy and bindings:
Container
AnalyticsChart( Pie - binding with GraphicOrders Node)
CatagoryAxis( binding with GraphicOrders.customer Element)
DataSerie ( binding with GraphicOrders.total Element)
AnalyticsChart( Columns - binding with OrderByMonth Node)
CatagoryAxis( binding with GraphicOrders.customer Element)
DataSerie ( binding with GraphicOrders.jan Element)
DataSerie ( binding with GraphicOrders.feb Element)
...
DataSerie ( binding with GraphicOrders.dec Element)
In the Pie AnalyticsChart the onSelectCategory event pass the nodeElement to parameter, then i get the customer and populate the OrderByMonth Node.
This event(onSelectCategory) isn't executed.
Regards.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.