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

Multiple series #37

Open
salorob opened this issue Mar 25, 2016 · 1 comment
Open

Multiple series #37

salorob opened this issue Mar 25, 2016 · 1 comment

Comments

@salorob
Copy link

salorob commented Mar 25, 2016

Hi Joe,

Do you have an idea how i can implement multiple series, from a sencha store or multiple ones if needed ?

say my json has this structure:

{ item_id: temp1,
ts = datevalue,
value = 10.1 },
{ item_id: temp2,
ts = datevalue,
value = 10.7 }

is your component fit to place this in a single chart, can you point me in any direction ?

@JoeKuan
Copy link
Owner

JoeKuan commented Mar 29, 2016

Hi,

No. You format is suggesting multiple series with independent x-axis data.
The only support format is:

temp1: [ [ datevalue, 10.1 ], [ .... ] ],
temp2: [ [ datevalue, 10.7 ], [ .... ] ].

If you have to keep to that format, the only thing I can think is to have
another JsonStore in between to convert the format.

Thanks
Joe

On 25 March 2016 at 15:39, salorob [email protected] wrote:

Hi Joe,

Do you have an idea how i can implement multiple series, from a sencha
store or multiple ones if needed ?

say my json has this structure:

{ item_id: temp1,
ts = datevalue,
value = 10.1 },
{ item_id: temp2,
ts = datevalue,
value = 10.7 }

is your component fit to place this in a single chart, can you point me in
any direction ?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#37

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

No branches or pull requests

2 participants