[ 3 posts ]

K V

  • Username: asquare
  • Joined: Fri Mar 09, 2012 1:33 pm
  • Posts: 4
  • Offline
  • Profile
Tags:

Using Chart Problem

Post Posted: Fri Mar 09, 2012 1:44 pm
+0-
I want to use a JSON object as the dataprovider for the chart.

MY JSON would look like

[{

"date" : "1/1/2012",
"agent1" : [ {"answered calls" : 5, "missed calls" : 4}]
"agent2" : [ {"answered calls" : 6, "missed calls" : 7}]
}]

I want a chart which shows the date on the xaxis and the agents side by side with answered calls and missed calls as stacks on each agent.

Any help would be helpful. Thank you.

Tripp Bridges

YUI Developer

  • Username: tripp
  • Joined: Wed Jan 07, 2009 1:54 pm
  • Posts: 435
  • GitHub: tripp
  • Gists: tripp
  • YUI Developer
  • Offline
  • Profile

Re: Using Chart Problem

Post Posted: Sat Mar 10, 2012 2:44 pm
+0-
The visualization you are describing is not available in YUI Charts. It sounds interesting and useful. Do you have any examples of this type chart? Please feel free to file a ticket for this enhancement.

Thanks,
Tripp

K V

  • Username: asquare
  • Joined: Fri Mar 09, 2012 1:33 pm
  • Posts: 4
  • Offline
  • Profile

Re: Using Chart Problem

Post Posted: Mon Mar 12, 2012 12:35 pm
+0-
Hi Tripp,

Thanks for your reply. I will try to open a ticket.
i've one more problem.

my json looks like this

var data=[
{
agentName : "agent1",
dat : [{date: "1/1/2012",missed:"10",answered:"20"}]
},
{agentName : "agent2",
dat : [{date: "2/1/2012",missed:"10",answered:"20"}]}];

and the number of agents is dynamic, it varies from request to request. I have to create dynamic divs to render charts for each agent.

Is there any way to do this.
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum