# |
Jun 28th 2017, 09:48 |
savant |
if you want to expose your json in the view |
# |
Jun 28th 2017, 09:48 |
savant |
because js libraries change every three months |
# |
Jun 28th 2017, 09:47 |
savant |
we dont integrate tightly with js libraries |
# |
Jun 28th 2017, 09:47 |
savant |
no |
# |
Jun 28th 2017, 09:47 |
cakephp721 |
there are some example of integration of d3 and cake? |
# |
Jun 28th 2017, 09:47 |
savant |
that is available offline and doesnt implement anything extra |
# |
Jun 28th 2017, 09:47 |
cakephp721 |
but probably in future |
# |
Jun 28th 2017, 09:46 |
savant |
well then you can use plain javascript |
# |
Jun 28th 2017, 09:46 |
cakephp721 |
not now |
# |
Jun 28th 2017, 09:46 |
savant |
do you need it to implement certain types of “charts” or “graphs”? |
# |
Jun 28th 2017, 09:46 |
cakephp721 |
I looked at d3 but it seems complicated |
# |
Jun 28th 2017, 09:46 |
cakephp721 |
yes sure |
# |
Jun 28th 2017, 09:46 |
savant |
Okay so you need an offline library |
# |
Jun 28th 2017, 09:45 |
cakephp721 |
I needs something that I will reuse for my intranet projects |
# |
Jun 28th 2017, 09:45 |
savant |
what are your exact needs |
# |
Jun 28th 2017, 09:44 |
savant |
there are a ton of different kinds of charts |
# |
Jun 28th 2017, 09:44 |
savant |
you just said charts |
# |
Jun 28th 2017, 09:44 |
savant |
you didnt tell us your needs |
# |
Jun 28th 2017, 09:44 |
cakephp721 |
in google charts I dont see the radar |
# |
Jun 28th 2017, 09:44 |
savant |
googlechart is pretty good |
# |
Jun 28th 2017, 09:43 |
cakephp721 |
I mean I build a sheleton and I'd like to put it a chart library that I'll use for my projects |
# |
Jun 28th 2017, 09:43 |
adriencs |
googlechart seem fine @cakephp721 |
# |
Jun 28th 2017, 09:43 |
cakephp721 |
I'd like a general purpose library |
# |
Jun 28th 2017, 09:42 |
adriencs |
still the same |
# |
Jun 28th 2017, 09:42 |
savant |
what is the find |
# |
Jun 28th 2017, 09:42 |
adriencs |
no fetched data without the behavior |
# |
Jun 28th 2017, 09:41 |
adriencs |
yup |
# |
Jun 28th 2017, 09:41 |
savant |
and see if it works |
# |
Jun 28th 2017, 09:41 |
savant |
detach it |
# |
Jun 28th 2017, 09:40 |
adriencs |
if there is a translation, it fetch dataz like a contain |
# |
Jun 28th 2017, 09:40 |
adriencs |
it do the same with all things that have the behavior so I guess that's the problem |
# |
Jun 28th 2017, 09:39 |
savant |
yeye |
# |
Jun 28th 2017, 09:39 |
savant |
guess translate hooks into beforeFind or something |
# |
Jun 28th 2017, 09:39 |
savant |
ok |
# |
Jun 28th 2017, 09:39 |
adriencs |
`$query->find()->innerJoinWith('Jobs')...` |
# |
Jun 28th 2017, 09:37 |
savant |
what was your find |
# |
Jun 28th 2017, 09:36 |
adriencs |
like 'I found a translation for your job label, so here is the data ..' |
# |
Jun 28th 2017, 09:36 |
adriencs |
@savant figured out that the fetched data with `innerJoinWith` is caused by the Translate behavior |
# |
Jun 28th 2017, 09:22 |
savant |
what kind of charts did you create? |
# |
Jun 28th 2017, 09:22 |
savant |
cakephp271: does your code not work now |
# |
Jun 28th 2017, 09:21 |
cakephp721 |
data that I took from the model |