You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Maria Jose Esteve <mj...@iest.com> on 2020/07/27 11:12:13 UTC
Charts
Hello,
I have to make several Charts (bar and pie) and I was looking at the examples included in the SDK.
I am doing tests, in my Jewel Application implementing crux, with the Basic Chart controls but I have problems with the dataproviders. Before continuing I wanted to ask you a question ... could you use the mx charts?
Thank you
RE: Charts
Posted by Maria Jose Esteve <mj...@iest.com>.
That's what I imagined :(
I'm going to take a look at ECharts.
Thanks Piort ... I try the same too! :P
Hiedra
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: lunes, 27 de julio de 2020 15:24
Para: users@royale.apache.org
Asunto: Re: Charts
Hi Maria,
I don't think that anyone put effort to emulate mx Charts. What's more it will be difficult to mix them with Jewel, due to CSS conflicts - it's probably doable, but I doubt anyone tried.
In our application I didn't even consider using any Charts from Royale - I went with usage of Apache ECharts [1] - I have finished integrating it with our Jewel app - it's not released yet, but in terms of integration it wasn't too difficult. Maybe this could be your solution.
[1] https://echarts.apache.org/
Thanks,
Piotr
pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>> napisał(a):
Hello,
I have to make several Charts (bar and pie) and I was looking at the examples included in the SDK.
I am doing tests, in my Jewel Application implementing crux, with the Basic Chart controls but I have problems with the dataproviders. Before continuing I wanted to ask you a question ... could you use the mx charts?
Thank you
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
Re: Royale Echarts (was Re: Charts)
Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr,
ok thanks.
About DataGrid and Forms. I'm more towards Table these days since I see
Greg and you are taking care of DataGrid and making changes could make your
work be affected.
So Table is more "row oriented" while Datagrid is more "column" oriented.
I think I can go back to DataGrid in some months, since we have work to
cover on both sides and better not mix in the same time frame, since that
could make us interfere in how we try to solve things.
About Forms is something I have had in mind for many months, but it seems
that I will need to wait since I have many things on my plate for now.
Anyway all is needed, so I think work done will not be a problem.
El mar., 28 jul. 2020 a las 15:30, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Carlos,
>
> If you have time go for it, but I'm expressing what I see after usage of
> ECharts. I think it's a black hole. I would prefer to see typedefs for that
> and your time spend on improving DataGrid with Greg or Forms.
>
> Good luck! :)
> Piotr
>
> wt., 28 lip 2020 o 15:09 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi Piotr,
> >
> > I saw there's lots of graphs in ECharts, and trying to bring all to that
> > library could be a huge amount of work.
> > On the other hand just typedefs could be in this case not something that
> > integrates really good with the rest of royale.
> >
> > Most of the time things should not be black or white, and in this case I
> > think we should concentrate on most used graphs (Bar, Pie, Columns,
> > Area,..), maybe start with just a few most used cases, and make it very
> > usable in Royale.
> >
> > After that, others could bring more graphs. I expect the rest to be
> easily
> > created by extending initial code, and just the same effort that creates
> > the typedef stubs. Anyway, other more rare graphs can be left for now. We
> > don't need to try to cover fully ECharts since even for typedefs could be
> > huge work.
> >
> > just my 2
> >
> >
> > El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > > Hi Carlos,
> > >
> > > Well at some point would love to see wrappers around it, but the more
> I'm
> > > thinking about it the more it is something which may not be worth due
> to
> > > magnitude of work.
> > >
> > > There are literally hundreds of types of charts and if you wanted to
> wrap
> > > up based on types or something like that you will end up in a rabbit
> > hole.
> > >
> > > I feel like it would be better to have typedefs and let users to use
> > > ECharts documentation to create whatever they want, wrap whatever they
> > > need.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I think charts are a very important part of UX and UI Solutions. It
> was
> > > for
> > > > Flex and Royale needs something actual.
> > > > Emulation always can continue efforts on mx chart versions. But new
> > > Royale
> > > > Apps (mostly Jewel, Basic and others) will required some modern
> > solution.
> > > >
> > > > Seems all folks here point to ECharts, so I'm planning to create a
> > > library
> > > > for Apache ECharts in the same way I did in the past for MDL, so
> > instead
> > > of
> > > > just creating an @extern, it will be a Royale Component with its own
> > API.
> > > >
> > > > Another way would be to just create @externs for ECharts, but since
> it
> > > is a
> > > > "component", it seems using like a UIBase inside Royale will benefit
> > > from a
> > > > better integration.
> > > >
> > > > In resume, seems to me what I did for MDL seems the best to apply
> here,
> > > > instead something like html2pdf, that seems to me a clear input that
> > > wants
> > > > a clear output and is not something we require to integrate and mix
> > well
> > > > with other Royale controls and containers
> > > >
> > > > So what do you think about this?
> > > >
> > > >
> > > >
> > > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> > mjesteve@iest.com
> > > >)
> > > > escribió:
> > > >
> > > > > Hi,
> > > > >
> > > > > Thanks Harbs.
> > > > >
> > > > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > > > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > > > > examples from the SDK.
> > > > >
> > > > >
> > > > >
> > > > > I have implemented an echart class, another echartInstance, but I
> > don't
> > > > > know if it will work as I need… In principle it seems that I can
> only
> > > > > create one instance of echart per document (at least that's what
> they
> > > > > advise, of course) and handle each “independent graph ”With the
> > > property“
> > > > > group ”,…
> > > > >
> > > > >
> > > > >
> > > > > Well, I keep doing tests ... I don't know if I will succeed because
> > I'm
> > > > > going "blind".
> > > > >
> > > > > I will continue to inform you.
> > > > >
> > > > >
> > > > >
> > > > > Thx
> > > > >
> > > > > Hiedra
> > > > >
> > > > >
> > > > >
> > > > > *De:* Harbs <ha...@gmail.com>
> > > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > > *Para:* users@royale.apache.org
> > > > > *Asunto:* Re: Charts
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > > > >
> > > > >
> > > > >
> > > > > Here’s a reference for other frameworks which integrated into
> > echarts:
> > > > > https://echarts.apache.org/en/download-extension.html#framework
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> > > > wrote:
> > > > >
> > > > >
> > > > >
> > > > > Piotr, where should I start? Do you recommend any integration
> guide?
> > > > >
> > > > > As I have commented, on some other occasion, I do not have an
> > overview
> > > of
> > > > > how we interact with js ...
> > > > >
> > > > >
> > > > >
> > > > > Hiedra.
> > > > >
> > > > >
> > > > >
> > > > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > > *Para:* users@royale.apache.org
> > > > > *Asunto:* Re: Charts
> > > > >
> > > > >
> > > > >
> > > > > Hi Carlos,
> > > > >
> > > > >
> > > > >
> > > > > I didn't create typedefs and I won't have time for that - unless I
> > will
> > > > > get some direct task to do that. I have simply injected library
> > trough
> > > > > index.html and created AS3 classes which wrap up ECharts library. -
> > > > Anyone
> > > > > can do that in their app. - I just wanted to get information out
> > that -
> > > > > ECharts is working nicely with Royale.
> > > > >
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Piotr
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > > > > napisał(a):
> > > > >
> > > > > Hi Piotr, Maria,
> > > > >
> > > > >
> > > > >
> > > > > I think we should have an ECharts library in Royale. In this case,
> I
> > > > don't
> > > > > see the point for old Flex charts, and others here (like Chris
> Dutz)
> > > > > already showed interest in it. What do you think about adding your
> > > > current
> > > > > library effort to Royale? I think many others here could be
> > interested
> > > in
> > > > > contributing to it.
> > > > >
> > > > >
> > > > >
> > > > > If there's some client restrictions, I think we should plan to add
> > our
> > > > own.
> > > > >
> > > > >
> > > > >
> > > > > Thanks!
> > > > >
> > > > >
> > > > >
> > > > > Carlos
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com>) escribió:
> > > > >
> > > > > Hi Maria,
> > > > >
> > > > >
> > > > >
> > > > > I don't think that anyone put effort to emulate mx Charts. What's
> > more
> > > it
> > > > > will be difficult to mix them with Jewel, due to CSS conflicts -
> it's
> > > > > probably doable, but I doubt anyone tried.
> > > > >
> > > > >
> > > > >
> > > > > In our application I didn't even consider using any Charts from
> > Royale
> > > -
> > > > > I went with usage of Apache ECharts [1] - I have finished
> integrating
> > > it
> > > > > with our Jewel app - it's not released yet, but in terms of
> > integration
> > > > it
> > > > > wasn't too difficult. Maybe this could be your solution.
> > > > >
> > > > >
> > > > >
> > > > > [1] https://echarts.apache.org/
> > > > >
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Piotr
> > > > >
> > > > >
> > > > >
> > > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > > > napisał(a):
> > > > >
> > > > > Hello,
> > > > >
> > > > > I have to make several Charts (bar and pie) and I was looking at
> the
> > > > > examples included in the SDK.
> > > > >
> > > > >
> > > > >
> > > > > I am doing tests, in my Jewel Application implementing crux, with
> the
> > > > > Basic Chart controls but I have problems with the dataproviders.
> > Before
> > > > > continuing I wanted to ask you a question ... could you use the mx
> > > > charts?
> > > > >
> > > > >
> > > > >
> > > > > Thank you
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *Piotr Zarzycki *
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Carlos Rovira
> > > > >
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *Piotr Zarzycki *
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Royale Echarts (was Re: Charts)
Posted by Piotr Zarzycki <pi...@gmail.com>.
Carlos,
If you have time go for it, but I'm expressing what I see after usage of
ECharts. I think it's a black hole. I would prefer to see typedefs for that
and your time spend on improving DataGrid with Greg or Forms.
Good luck! :)
Piotr
wt., 28 lip 2020 o 15:09 Carlos Rovira <ca...@apache.org> napisał(a):
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all to that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not something that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this case I
> think we should concentrate on most used graphs (Bar, Pie, Columns,
> Area,..), maybe start with just a few most used cases, and make it very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to be easily
> created by extending initial code, and just the same effort that creates
> the typedef stubs. Anyway, other more rare graphs can be left for now. We
> don't need to try to cover fully ECharts since even for typedefs could be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > Hi Carlos,
> >
> > Well at some point would love to see wrappers around it, but the more I'm
> > thinking about it the more it is something which may not be worth due to
> > magnitude of work.
> >
> > There are literally hundreds of types of charts and if you wanted to wrap
> > up based on types or something like that you will end up in a rabbit
> hole.
> >
> > I feel like it would be better to have typedefs and let users to use
> > ECharts documentation to create whatever they want, wrap whatever they
> > need.
> >
> > Thanks,
> > Piotr
> >
> > wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I think charts are a very important part of UX and UI Solutions. It was
> > for
> > > Flex and Royale needs something actual.
> > > Emulation always can continue efforts on mx chart versions. But new
> > Royale
> > > Apps (mostly Jewel, Basic and others) will required some modern
> solution.
> > >
> > > Seems all folks here point to ECharts, so I'm planning to create a
> > library
> > > for Apache ECharts in the same way I did in the past for MDL, so
> instead
> > of
> > > just creating an @extern, it will be a Royale Component with its own
> API.
> > >
> > > Another way would be to just create @externs for ECharts, but since it
> > is a
> > > "component", it seems using like a UIBase inside Royale will benefit
> > from a
> > > better integration.
> > >
> > > In resume, seems to me what I did for MDL seems the best to apply here,
> > > instead something like html2pdf, that seems to me a clear input that
> > wants
> > > a clear output and is not something we require to integrate and mix
> well
> > > with other Royale controls and containers
> > >
> > > So what do you think about this?
> > >
> > >
> > >
> > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> mjesteve@iest.com
> > >)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > Thanks Harbs.
> > > >
> > > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > > > examples from the SDK.
> > > >
> > > >
> > > >
> > > > I have implemented an echart class, another echartInstance, but I
> don't
> > > > know if it will work as I need… In principle it seems that I can only
> > > > create one instance of echart per document (at least that's what they
> > > > advise, of course) and handle each “independent graph ”With the
> > property“
> > > > group ”,…
> > > >
> > > >
> > > >
> > > > Well, I keep doing tests ... I don't know if I will succeed because
> I'm
> > > > going "blind".
> > > >
> > > > I will continue to inform you.
> > > >
> > > >
> > > >
> > > > Thx
> > > >
> > > > Hiedra
> > > >
> > > >
> > > >
> > > > *De:* Harbs <ha...@gmail.com>
> > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > *Para:* users@royale.apache.org
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > > >
> > > >
> > > >
> > > > Here’s a reference for other frameworks which integrated into
> echarts:
> > > > https://echarts.apache.org/en/download-extension.html#framework
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> > > wrote:
> > > >
> > > >
> > > >
> > > > Piotr, where should I start? Do you recommend any integration guide?
> > > >
> > > > As I have commented, on some other occasion, I do not have an
> overview
> > of
> > > > how we interact with js ...
> > > >
> > > >
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > *Para:* users@royale.apache.org
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > > Hi Carlos,
> > > >
> > > >
> > > >
> > > > I didn't create typedefs and I won't have time for that - unless I
> will
> > > > get some direct task to do that. I have simply injected library
> trough
> > > > index.html and created AS3 classes which wrap up ECharts library. -
> > > Anyone
> > > > can do that in their app. - I just wanted to get information out
> that -
> > > > ECharts is working nicely with Royale.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > > > napisał(a):
> > > >
> > > > Hi Piotr, Maria,
> > > >
> > > >
> > > >
> > > > I think we should have an ECharts library in Royale. In this case, I
> > > don't
> > > > see the point for old Flex charts, and others here (like Chris Dutz)
> > > > already showed interest in it. What do you think about adding your
> > > current
> > > > library effort to Royale? I think many others here could be
> interested
> > in
> > > > contributing to it.
> > > >
> > > >
> > > >
> > > > If there's some client restrictions, I think we should plan to add
> our
> > > own.
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > > Carlos
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com>) escribió:
> > > >
> > > > Hi Maria,
> > > >
> > > >
> > > >
> > > > I don't think that anyone put effort to emulate mx Charts. What's
> more
> > it
> > > > will be difficult to mix them with Jewel, due to CSS conflicts - it's
> > > > probably doable, but I doubt anyone tried.
> > > >
> > > >
> > > >
> > > > In our application I didn't even consider using any Charts from
> Royale
> > -
> > > > I went with usage of Apache ECharts [1] - I have finished integrating
> > it
> > > > with our Jewel app - it's not released yet, but in terms of
> integration
> > > it
> > > > wasn't too difficult. Maybe this could be your solution.
> > > >
> > > >
> > > >
> > > > [1] https://echarts.apache.org/
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > > napisał(a):
> > > >
> > > > Hello,
> > > >
> > > > I have to make several Charts (bar and pie) and I was looking at the
> > > > examples included in the SDK.
> > > >
> > > >
> > > >
> > > > I am doing tests, in my Jewel Application implementing crux, with the
> > > > Basic Chart controls but I have problems with the dataproviders.
> Before
> > > > continuing I wanted to ask you a question ... could you use the mx
> > > charts?
> > > >
> > > >
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Carlos Rovira
> > > >
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi Harb, sorry, look ...
I have created this class:
package
{
/**
* @externs
*/
COMPILE::JS
public class echarts{
/**
* <inject_script>
* var script = document.createElement("script");
* script.setAttribute("src", "assets/js/echarts.min.js");
* document.head.appendChild(script);
* </inject_script>
*/
public function echarts(){}
/**
* Creates an ECharts instance, and returns an echartsInstance. You shall not initialize multiple ECharts instances on a single container.
* @param dom HTMLDivElement|HTMLCanvasElement
* @param theme Object|string
* @param opts { devicePixelRatio?: number, renderer?: string, width?: number|string, height?: number|string }
* @return echartsInstance
*/
public static function init(dom:Element=null,theme:String=null, opts:Object=null):Object { return null; }
/**
* Connects interaction of multiple chart series.
* @param group string|Array
*/
public static function connect(group:Object=null):void{}
/**
* Disconnects interaction of multiple chart series. To have one single instance to be removed, you can set group of chart instance to be null.
* @param group string
*/
public static function disconnect(group:String=null):void{}
/**
* Destroys chart instance, after which the instance cannot be used any more.
* @param target ECharts|HTMLDivElement|HTMLCanvasElement
*/
public static function dispose(target:Object=null):void{}
/**
* Returns chart instance of dom container.
* @param getInstanceByDom HTMLDivElement|HTMLCanvasElement
* @return Element
*/
public static function getInstanceByDom(getInstanceByDom:Object=null):Object{ return null;}
/**
* Registers available maps. This can only be used after including geo component or chart series of map.
* @param mapName Map name, referring to map value set in geo component or map.
* @param geoJson Data in GeoJson format. See https://geojson.org/ for more format information.
* @param specialAreas Optional; zoomed part of a specific area in the map for better visual effect.
*/
public static function registerMap(mapName:String=null, geoJson:Object=null, specialAreas:Object=null):void{}
/**
* Get a registered map in the following format:
* {
* // geoJson data of the map
* geoJson: Object,
* // special area, see registerMap() for more information
* specialAreas: Object
* }
* @param mapName Map name
*/
public static function getMap(mapName:String=null):void{}
/**
* Registers a theme, should be specified when initialize the chart instance.
* @param themeName
* @param theme
*/
public static function registerTheme(themeName:String=null, theme:Object=null):void{}
}
}
And to use it, for example:
private var mychart:Object;
…
if(!mychart)
mychart = echarts.init(charTopesPerGen.element, 'dark');
else
mychart.clear();
var option:Object = {
title: {
text: 'ECharts entry example'
},
tooltip: {},
legend: {
data:['Sales']
},
xAxis: {
data: ["shirt","cardign","chiffon shirt","pants","heels","socks"]
},
yAxis: {},
series: [{
name: 'Sales',
type: 'bar',
data: [5, 20, 36, 10, 10, 20]
}]
};
mychart.setOption(option, true);
mychart.resize({width: 'auto', height: 'auto'})
The result:
[cid:image001.png@01D665CD.6DC5D0F0]
Now I am implementing loading data from file ... Do you see that I have to change something? It is the first one I do, the implementation is not right ...
Thx.
Hiedra
-----Mensaje original-----
De: Harbs <ha...@gmail.com>
Enviado el: miércoles, 29 de julio de 2020 15:04
Para: dev@royale.apache.org
Asunto: Re: Royale Echarts (was Re: Charts)
I’m not clear on whether you created your own externs.
I asked over on the echarts list whether they have any definition files we might be able to use.
https://lists.apache.org/thread.html/r8877ebea54a987023e7d277bf216f8326caaeb4641f18c70668ec750%40%3Cdev.echarts.apache.org%3E
Harbs
> On Jul 29, 2020, at 2:25 PM, Alina Kazi <al...@apache.org>> wrote:
>
> Yes it should be a component in Royale. So, As we used to work with
> Charts in Flex the same way we can use it in Royale.
>
> Yes Maria we can create Examples with your existing integration with
> ECharts.
>
> -Alina
>
> On Wed, 29 Jul 2020, 4:17 pm Maria Jose Esteve, <mj...@iest.com>> wrote:
>
>> I am with Carlos, the ideal would be to create a Royale component
>> with its own API, it has many more advantages, but for now we could show "something"
>> with the little time we have ...
>>
>> See if for this afternoon someone has given their opinion on "what to
>> show" and "how"
>>
>> Thx.
>> Hiedra
>>
>> -----Mensaje original-----
>> De: Harbs <ha...@gmail.com>>
>> Enviado el: miércoles, 29 de julio de 2020 12:54
>> Para: dev@royale.apache.org<ma...@royale.apache.org>
>> Asunto: Re: Royale Echarts (was Re: Charts)
>>
>> Externs is good. I’m not convinced that wrapping echarts in full
>> Royale components is necessarily going to add a lot of value.
>>
>> I’d love to see what you’ve done.
>>
>>> On Jul 29, 2020, at 1:26 PM, Maria Jose Esteve <mj...@iest.com>>
>> wrote:
>>>
>>> Hello Chris,
>>> I'm not going to help Carlos much because the integration I have is
>> simple, with @extern, does it still seem good to you?
>>>
>>> The ECharts sample page is [1]
>>> I think that between all of us we could choose the templates that we
>> like the most or that we see more operational. How do you see it?
>>> @Alina has promised to help me: P
>>>
>>> This afternoon, when I finish working, I will return to the subject.
>>>
>>> Bye.
>>>
>>> [1] https://echarts.apache.org/examples/en/index.html
>>>
>>>
>>> -----Mensaje original-----
>>> De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
>>> miércoles,
>>> 29 de julio de 2020 11:34
>>> Para: dev@royale.apache.org<ma...@royale.apache.org>
>>> Asunto: Re: Royale Echarts (was Re: Charts)
>>>
>>> That would be cool :-)
>>>
>>> And I could imagine that this could also help Carlos with the
>> integration work.
>>>
>>> Chris
>>>
>>>
>>> Am 29.07.20, 11:11 schrieb "Maria Jose Esteve" <mj...@iest.com>>:
>>>
>>> Hello Chris,
>>> I have a little integration with ECharts and could mount some of
>>> the
>> examples in their gallery [1] for you (ApacheCon) How do you see it?
>>>
>>> [1] https://echarts.apache.org/examples/en/index.html
>>>
>>>
>>> -----Mensaje original-----
>>> De: Christofer Dutz <ch...@c-ware.de>>
>>> Enviado el: martes, 28 de julio de 2020 17:28
>>> Para: dev@royale.apache.org<ma...@royale.apache.org>
>>> Asunto: Re: Royale Echarts (was Re: Charts)
>>>
>>> Hi folks,
>>>
>>> I agree that perhaps creating real wrappers for some of the most
>>> used
>> charts and creating some documentation on how to add new ones could
>> be a great thing for people wanting to get engaged in the project.
>> Should be fairly simple to do this via PRs.
>>>
>>> I remember Harbs saying he had already been working on this?
>>>
>>> For my ApacheCon talk proposal "Home automation with apache" this
>>> would be a super awesome addition ;-)
>>>
>>> Chris
>>>
>>>
>>>
>>> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>>:
>>>
>>> Hi Piotr,
>>>
>>> I saw there's lots of graphs in ECharts, and trying to bring
>>> all
>> to that
>>> library could be a huge amount of work.
>>> On the other hand just typedefs could be in this case not
>> something that
>>> integrates really good with the rest of royale.
>>>
>>> Most of the time things should not be black or white, and in
>>> this
>> case I
>>> think we should concentrate on most used graphs (Bar, Pie,
>> Columns,
>>> Area,..), maybe start with just a few most used cases, and
>>> make
>> it very
>>> usable in Royale.
>>>
>>> After that, others could bring more graphs. I expect the rest
>>> to
>> be easily
>>> created by extending initial code, and just the same effort
>>> that
>> creates
>>> the typedef stubs. Anyway, other more rare graphs can be left
>>> for
>> now. We
>>> don't need to try to cover fully ECharts since even for
>>> typedefs
>> could be
>>> huge work.
>>>
>>> just my 2
>>>
>>>
>>> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
>>> piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
>>>
>>>> Hi Carlos,
>>>>
>>>> Well at some point would love to see wrappers around it, but the
>>>> more I'm thinking about it the more it is something which may not
>>>> be worth due to magnitude of work.
>>>>
>>>> There are literally hundreds of types of charts and if you wanted
>>>> to wrap up based on types or something like that you will end up in
>>>> a
>> rabbit hole.
>>>>
>>>> I feel like it would be better to have typedefs and let users to
>>>> use ECharts documentation to create whatever they want, wrap
>>>> whatever they need.
>>>>
>>>> Thanks,
>>>> Piotr
>>>>
>>>> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>>
>>>> napisał(a):
>>>>
>>>>> Hi,
>>>>>
>>>>> I think charts are a very important part of UX and UI Solutions.
>>>>> It was
>>>> for
>>>>> Flex and Royale needs something actual.
>>>>> Emulation always can continue efforts on mx chart versions. But
>>>>> new
>>>> Royale
>>>>> Apps (mostly Jewel, Basic and others) will required some modern
>> solution.
>>>>>
>>>>> Seems all folks here point to ECharts, so I'm planning to create a
>>>> library
>>>>> for Apache ECharts in the same way I did in the past for MDL, so
>>>>> instead
>>>> of
>>>>> just creating an @extern, it will be a Royale Component with its
>>>>> own
>> API.
>>>>>
>>>>> Another way would be to just create @externs for ECharts, but
>>>>> since it
>>>> is a
>>>>> "component", it seems using like a UIBase inside Royale will
>>>>> benefit
>>>> from a
>>>>> better integration.
>>>>>
>>>>> In resume, seems to me what I did for MDL seems the best to apply
>>>>> here, instead something like html2pdf, that seems to me a clear
>>>>> input that
>>>> wants
>>>>> a clear output and is not something we require to integrate and
>>>>> mix well with other Royale controls and containers
>>>>>
>>>>> So what do you think about this?
>>>>>
>>>>>
>>>>>
>>>>> El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve
>>>>> (<mjesteve@iest.com
>>>>> )
>>>>> escribió:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Thanks Harbs.
>>>>>>
>>>>>> Yesterday I was looking at Carlos's integration with html2PDF,
>>>>>> https://github.com/tomLadder/react-native-echarts-wrapper and
>>>>>> some examples from the SDK.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have implemented an echart class, another echartInstance, but I
>>>>>> don't know if it will work as I need… In principle it seems that
>>>>>> I can only create one instance of echart per document (at least
>>>>>> that's what they advise, of course) and handle each “independent
>>>>>> graph ”With the
>>>> property“
>>>>>> group ”,…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Well, I keep doing tests ... I don't know if I will succeed
>>>>>> because I'm going "blind".
>>>>>>
>>>>>> I will continue to inform you.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thx
>>>>>>
>>>>>> Hiedra
>>>>>>
>>>>>>
>>>>>>
>>>>>> *De:* Harbs <ha...@gmail.com>> *Enviado el:* martes, 28 de
>>>>>> julio de 2020 8:15
>>>>>> *Para:* users@royale.apache.org<ma...@royale.apache.org>
>>>>>> *Asunto:* Re: Charts
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> https://royale.apache.org/using-external-javascript-libraries-in-ap
>>>> ac
>>>> he-royale/
>>>>>>
>>>>>>
>>>>>>
>>>>>> Here’s a reference for other frameworks which integrated into echarts:
>>>>>> https://echarts.apache.org/en/download-extension.html#framework
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve
>>>>>> <mj...@iest.com>>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Piotr, where should I start? Do you recommend any integration guide?
>>>>>>
>>>>>> As I have commented, on some other occasion, I do not have an
>>>>>> overview
>>>> of
>>>>>> how we interact with js ...
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hiedra.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *De:* Piotr Zarzycki <pi...@gmail.com>> *Enviado el:*
>>>>>> lunes, 27 de julio de 2020 17:31
>>>>>> *Para:* users@royale.apache.org<ma...@royale.apache.org>
>>>>>> *Asunto:* Re: Charts
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Carlos,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I didn't create typedefs and I won't have time for that - unless
>>>>>> I will get some direct task to do that. I have simply injected
>>>>>> library trough index.html and created AS3 classes which wrap up
>>>>>> ECharts library. -
>>>>> Anyone
>>>>>> can do that in their app. - I just wanted to get information out
>>>>>> that - ECharts is working nicely with Royale.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Piotr
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>>
>>>>>> napisał(a):
>>>>>>
>>>>>> Hi Piotr, Maria,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I think we should have an ECharts library in Royale. In this
>>>>>> case, I
>>>>> don't
>>>>>> see the point for old Flex charts, and others here (like Chris
>>>>>> Dutz) already showed interest in it. What do you think about
>>>>>> adding your
>>>>> current
>>>>>> library effort to Royale? I think many others here could be
>>>>>> interested
>>>> in
>>>>>> contributing to it.
>>>>>>
>>>>>>
>>>>>>
>>>>>> If there's some client restrictions, I think we should plan to
>>>>>> add our
>>>>> own.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>>
>>>>>> Carlos
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
>>>>>> piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
>>>>>>
>>>>>> Hi Maria,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I don't think that anyone put effort to emulate mx Charts. What's
>>>>>> more
>>>> it
>>>>>> will be difficult to mix them with Jewel, due to CSS conflicts -
>>>>>> it's probably doable, but I doubt anyone tried.
>>>>>>
>>>>>>
>>>>>>
>>>>>> In our application I didn't even consider using any Charts from
>>>>>> Royale
>>>> -
>>>>>> I went with usage of Apache ECharts [1] - I have finished
>>>>>> integrating
>>>> it
>>>>>> with our Jewel app - it's not released yet, but in terms of
>>>>>> integration
>>>>> it
>>>>>> wasn't too difficult. Maybe this could be your solution.
>>>>>>
>>>>>>
>>>>>>
>>>>>> [1] https://echarts.apache.org/
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Piotr
>>>>>>
>>>>>>
>>>>>>
>>>>>> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>>
>>>>>> napisał(a):
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I have to make several Charts (bar and pie) and I was looking at
>>>>>> the examples included in the SDK.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I am doing tests, in my Jewel Application implementing crux, with
>>>>>> the Basic Chart controls but I have problems with the
>>>>>> dataproviders. Before continuing I wanted to ask you a question ...
>>>>>> could you use the mx
>>>>> charts?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Piotr Zarzycki *
>>>>>>
>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Carlos Rovira
>>>>>>
>>>>>> http://about.me/carlosrovira
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Piotr Zarzycki *
>>>>>>
>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Carlos Rovira
>>>>> http://about.me/carlosrovira
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>>
Re: Royale Echarts (was Re: Charts)
Posted by Harbs <ha...@gmail.com>.
I’m not clear on whether you created your own externs.
I asked over on the echarts list whether they have any definition files we might be able to use.
https://lists.apache.org/thread.html/r8877ebea54a987023e7d277bf216f8326caaeb4641f18c70668ec750%40%3Cdev.echarts.apache.org%3E
Harbs
> On Jul 29, 2020, at 2:25 PM, Alina Kazi <al...@apache.org> wrote:
>
> Yes it should be a component in Royale. So,
> As we used to work with Charts in Flex the same way we can use it in Royale.
>
> Yes Maria we can create Examples with your existing integration with
> ECharts.
>
> -Alina
>
> On Wed, 29 Jul 2020, 4:17 pm Maria Jose Esteve, <mj...@iest.com> wrote:
>
>> I am with Carlos, the ideal would be to create a Royale component with its
>> own API, it has many more advantages, but for now we could show "something"
>> with the little time we have ...
>>
>> See if for this afternoon someone has given their opinion on "what to
>> show" and "how"
>>
>> Thx.
>> Hiedra
>>
>> -----Mensaje original-----
>> De: Harbs <ha...@gmail.com>
>> Enviado el: miércoles, 29 de julio de 2020 12:54
>> Para: dev@royale.apache.org
>> Asunto: Re: Royale Echarts (was Re: Charts)
>>
>> Externs is good. I’m not convinced that wrapping echarts in full Royale
>> components is necessarily going to add a lot of value.
>>
>> I’d love to see what you’ve done.
>>
>>> On Jul 29, 2020, at 1:26 PM, Maria Jose Esteve <mj...@iest.com>
>> wrote:
>>>
>>> Hello Chris,
>>> I'm not going to help Carlos much because the integration I have is
>> simple, with @extern, does it still seem good to you?
>>>
>>> The ECharts sample page is [1]
>>> I think that between all of us we could choose the templates that we
>> like the most or that we see more operational. How do you see it?
>>> @Alina has promised to help me: P
>>>
>>> This afternoon, when I finish working, I will return to the subject.
>>>
>>> Bye.
>>>
>>> [1] https://echarts.apache.org/examples/en/index.html
>>>
>>>
>>> -----Mensaje original-----
>>> De: Christofer Dutz <ch...@c-ware.de> Enviado el: miércoles,
>>> 29 de julio de 2020 11:34
>>> Para: dev@royale.apache.org
>>> Asunto: Re: Royale Echarts (was Re: Charts)
>>>
>>> That would be cool :-)
>>>
>>> And I could imagine that this could also help Carlos with the
>> integration work.
>>>
>>> Chris
>>>
>>>
>>> Am 29.07.20, 11:11 schrieb "Maria Jose Esteve" <mj...@iest.com>:
>>>
>>> Hello Chris,
>>> I have a little integration with ECharts and could mount some of the
>> examples in their gallery [1] for you (ApacheCon) How do you see it?
>>>
>>> [1] https://echarts.apache.org/examples/en/index.html
>>>
>>>
>>> -----Mensaje original-----
>>> De: Christofer Dutz <ch...@c-ware.de>
>>> Enviado el: martes, 28 de julio de 2020 17:28
>>> Para: dev@royale.apache.org
>>> Asunto: Re: Royale Echarts (was Re: Charts)
>>>
>>> Hi folks,
>>>
>>> I agree that perhaps creating real wrappers for some of the most used
>> charts and creating some documentation on how to add new ones could be a
>> great thing for people wanting to get engaged in the project. Should be
>> fairly simple to do this via PRs.
>>>
>>> I remember Harbs saying he had already been working on this?
>>>
>>> For my ApacheCon talk proposal "Home automation with apache" this
>>> would be a super awesome addition ;-)
>>>
>>> Chris
>>>
>>>
>>>
>>> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
>>>
>>> Hi Piotr,
>>>
>>> I saw there's lots of graphs in ECharts, and trying to bring all
>> to that
>>> library could be a huge amount of work.
>>> On the other hand just typedefs could be in this case not
>> something that
>>> integrates really good with the rest of royale.
>>>
>>> Most of the time things should not be black or white, and in this
>> case I
>>> think we should concentrate on most used graphs (Bar, Pie,
>> Columns,
>>> Area,..), maybe start with just a few most used cases, and make
>> it very
>>> usable in Royale.
>>>
>>> After that, others could bring more graphs. I expect the rest to
>> be easily
>>> created by extending initial code, and just the same effort that
>> creates
>>> the typedef stubs. Anyway, other more rare graphs can be left for
>> now. We
>>> don't need to try to cover fully ECharts since even for typedefs
>> could be
>>> huge work.
>>>
>>> just my 2
>>>
>>>
>>> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
>>> piotrzarzycki21@gmail.com>) escribió:
>>>
>>>> Hi Carlos,
>>>>
>>>> Well at some point would love to see wrappers around it, but the more
>>>> I'm thinking about it the more it is something which may not be worth
>>>> due to magnitude of work.
>>>>
>>>> There are literally hundreds of types of charts and if you wanted to
>>>> wrap up based on types or something like that you will end up in a
>> rabbit hole.
>>>>
>>>> I feel like it would be better to have typedefs and let users to use
>>>> ECharts documentation to create whatever they want, wrap whatever
>>>> they need.
>>>>
>>>> Thanks,
>>>> Piotr
>>>>
>>>> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
>>>> napisał(a):
>>>>
>>>>> Hi,
>>>>>
>>>>> I think charts are a very important part of UX and UI Solutions. It
>>>>> was
>>>> for
>>>>> Flex and Royale needs something actual.
>>>>> Emulation always can continue efforts on mx chart versions. But new
>>>> Royale
>>>>> Apps (mostly Jewel, Basic and others) will required some modern
>> solution.
>>>>>
>>>>> Seems all folks here point to ECharts, so I'm planning to create a
>>>> library
>>>>> for Apache ECharts in the same way I did in the past for MDL, so
>>>>> instead
>>>> of
>>>>> just creating an @extern, it will be a Royale Component with its own
>> API.
>>>>>
>>>>> Another way would be to just create @externs for ECharts, but since
>>>>> it
>>>> is a
>>>>> "component", it seems using like a UIBase inside Royale will benefit
>>>> from a
>>>>> better integration.
>>>>>
>>>>> In resume, seems to me what I did for MDL seems the best to apply
>>>>> here, instead something like html2pdf, that seems to me a clear
>>>>> input that
>>>> wants
>>>>> a clear output and is not something we require to integrate and mix
>>>>> well with other Royale controls and containers
>>>>>
>>>>> So what do you think about this?
>>>>>
>>>>>
>>>>>
>>>>> El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve
>>>>> (<mjesteve@iest.com
>>>>> )
>>>>> escribió:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Thanks Harbs.
>>>>>>
>>>>>> Yesterday I was looking at Carlos's integration with html2PDF,
>>>>>> https://github.com/tomLadder/react-native-echarts-wrapper and some
>>>>>> examples from the SDK.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have implemented an echart class, another echartInstance, but I
>>>>>> don't know if it will work as I need… In principle it seems that I
>>>>>> can only create one instance of echart per document (at least
>>>>>> that's what they advise, of course) and handle each “independent
>>>>>> graph ”With the
>>>> property“
>>>>>> group ”,…
>>>>>>
>>>>>>
>>>>>>
>>>>>> Well, I keep doing tests ... I don't know if I will succeed because
>>>>>> I'm going "blind".
>>>>>>
>>>>>> I will continue to inform you.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thx
>>>>>>
>>>>>> Hiedra
>>>>>>
>>>>>>
>>>>>>
>>>>>> *De:* Harbs <ha...@gmail.com> *Enviado el:* martes, 28 de
>>>>>> julio de 2020 8:15
>>>>>> *Para:* users@royale.apache.org
>>>>>> *Asunto:* Re: Charts
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> https://royale.apache.org/using-external-javascript-libraries-in-apac
>>>> he-royale/
>>>>>>
>>>>>>
>>>>>>
>>>>>> Here’s a reference for other frameworks which integrated into echarts:
>>>>>> https://echarts.apache.org/en/download-extension.html#framework
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Piotr, where should I start? Do you recommend any integration guide?
>>>>>>
>>>>>> As I have commented, on some other occasion, I do not have an
>>>>>> overview
>>>> of
>>>>>> how we interact with js ...
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hiedra.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *De:* Piotr Zarzycki <pi...@gmail.com> *Enviado el:*
>>>>>> lunes, 27 de julio de 2020 17:31
>>>>>> *Para:* users@royale.apache.org
>>>>>> *Asunto:* Re: Charts
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Carlos,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I didn't create typedefs and I won't have time for that - unless I
>>>>>> will get some direct task to do that. I have simply injected
>>>>>> library trough index.html and created AS3 classes which wrap up
>>>>>> ECharts library. -
>>>>> Anyone
>>>>>> can do that in their app. - I just wanted to get information out
>>>>>> that - ECharts is working nicely with Royale.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Piotr
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
>>>>>> napisał(a):
>>>>>>
>>>>>> Hi Piotr, Maria,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I think we should have an ECharts library in Royale. In this case,
>>>>>> I
>>>>> don't
>>>>>> see the point for old Flex charts, and others here (like Chris
>>>>>> Dutz) already showed interest in it. What do you think about adding
>>>>>> your
>>>>> current
>>>>>> library effort to Royale? I think many others here could be
>>>>>> interested
>>>> in
>>>>>> contributing to it.
>>>>>>
>>>>>>
>>>>>>
>>>>>> If there's some client restrictions, I think we should plan to add
>>>>>> our
>>>>> own.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>>
>>>>>> Carlos
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
>>>>>> piotrzarzycki21@gmail.com>) escribió:
>>>>>>
>>>>>> Hi Maria,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I don't think that anyone put effort to emulate mx Charts. What's
>>>>>> more
>>>> it
>>>>>> will be difficult to mix them with Jewel, due to CSS conflicts -
>>>>>> it's probably doable, but I doubt anyone tried.
>>>>>>
>>>>>>
>>>>>>
>>>>>> In our application I didn't even consider using any Charts from
>>>>>> Royale
>>>> -
>>>>>> I went with usage of Apache ECharts [1] - I have finished
>>>>>> integrating
>>>> it
>>>>>> with our Jewel app - it's not released yet, but in terms of
>>>>>> integration
>>>>> it
>>>>>> wasn't too difficult. Maybe this could be your solution.
>>>>>>
>>>>>>
>>>>>>
>>>>>> [1] https://echarts.apache.org/
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Piotr
>>>>>>
>>>>>>
>>>>>>
>>>>>> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
>>>>>> napisał(a):
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I have to make several Charts (bar and pie) and I was looking at
>>>>>> the examples included in the SDK.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I am doing tests, in my Jewel Application implementing crux, with
>>>>>> the Basic Chart controls but I have problems with the
>>>>>> dataproviders. Before continuing I wanted to ask you a question ...
>>>>>> could you use the mx
>>>>> charts?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Piotr Zarzycki *
>>>>>>
>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Carlos Rovira
>>>>>>
>>>>>> http://about.me/carlosrovira
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Piotr Zarzycki *
>>>>>>
>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Carlos Rovira
>>>>> http://about.me/carlosrovira
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>>
Re: Royale Echarts (was Re: Charts)
Posted by Alina Kazi <al...@apache.org>.
Yes it should be a component in Royale. So,
As we used to work with Charts in Flex the same way we can use it in Royale.
Yes Maria we can create Examples with your existing integration with
ECharts.
-Alina
On Wed, 29 Jul 2020, 4:17 pm Maria Jose Esteve, <mj...@iest.com> wrote:
> I am with Carlos, the ideal would be to create a Royale component with its
> own API, it has many more advantages, but for now we could show "something"
> with the little time we have ...
>
> See if for this afternoon someone has given their opinion on "what to
> show" and "how"
>
> Thx.
> Hiedra
>
> -----Mensaje original-----
> De: Harbs <ha...@gmail.com>
> Enviado el: miércoles, 29 de julio de 2020 12:54
> Para: dev@royale.apache.org
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Externs is good. I’m not convinced that wrapping echarts in full Royale
> components is necessarily going to add a lot of value.
>
> I’d love to see what you’ve done.
>
> > On Jul 29, 2020, at 1:26 PM, Maria Jose Esteve <mj...@iest.com>
> wrote:
> >
> > Hello Chris,
> > I'm not going to help Carlos much because the integration I have is
> simple, with @extern, does it still seem good to you?
> >
> > The ECharts sample page is [1]
> > I think that between all of us we could choose the templates that we
> like the most or that we see more operational. How do you see it?
> > @Alina has promised to help me: P
> >
> > This afternoon, when I finish working, I will return to the subject.
> >
> > Bye.
> >
> > [1] https://echarts.apache.org/examples/en/index.html
> >
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: miércoles,
> > 29 de julio de 2020 11:34
> > Para: dev@royale.apache.org
> > Asunto: Re: Royale Echarts (was Re: Charts)
> >
> > That would be cool :-)
> >
> > And I could imagine that this could also help Carlos with the
> integration work.
> >
> > Chris
> >
> >
> > Am 29.07.20, 11:11 schrieb "Maria Jose Esteve" <mj...@iest.com>:
> >
> > Hello Chris,
> > I have a little integration with ECharts and could mount some of the
> examples in their gallery [1] for you (ApacheCon) How do you see it?
> >
> > [1] https://echarts.apache.org/examples/en/index.html
> >
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: martes, 28 de julio de 2020 17:28
> > Para: dev@royale.apache.org
> > Asunto: Re: Royale Echarts (was Re: Charts)
> >
> > Hi folks,
> >
> > I agree that perhaps creating real wrappers for some of the most used
> charts and creating some documentation on how to add new ones could be a
> great thing for people wanting to get engaged in the project. Should be
> fairly simple to do this via PRs.
> >
> > I remember Harbs saying he had already been working on this?
> >
> > For my ApacheCon talk proposal "Home automation with apache" this
> > would be a super awesome addition ;-)
> >
> > Chris
> >
> >
> >
> > Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
> >
> > Hi Piotr,
> >
> > I saw there's lots of graphs in ECharts, and trying to bring all
> to that
> > library could be a huge amount of work.
> > On the other hand just typedefs could be in this case not
> something that
> > integrates really good with the rest of royale.
> >
> > Most of the time things should not be black or white, and in this
> case I
> > think we should concentrate on most used graphs (Bar, Pie,
> Columns,
> > Area,..), maybe start with just a few most used cases, and make
> it very
> > usable in Royale.
> >
> > After that, others could bring more graphs. I expect the rest to
> be easily
> > created by extending initial code, and just the same effort that
> creates
> > the typedef stubs. Anyway, other more rare graphs can be left for
> now. We
> > don't need to try to cover fully ECharts since even for typedefs
> could be
> > huge work.
> >
> > just my 2
> >
> >
> > El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> >> Hi Carlos,
> >>
> >> Well at some point would love to see wrappers around it, but the more
> >> I'm thinking about it the more it is something which may not be worth
> >> due to magnitude of work.
> >>
> >> There are literally hundreds of types of charts and if you wanted to
> >> wrap up based on types or something like that you will end up in a
> rabbit hole.
> >>
> >> I feel like it would be better to have typedefs and let users to use
> >> ECharts documentation to create whatever they want, wrap whatever
> >> they need.
> >>
> >> Thanks,
> >> Piotr
> >>
> >> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> >> napisał(a):
> >>
> >>> Hi,
> >>>
> >>> I think charts are a very important part of UX and UI Solutions. It
> >>> was
> >> for
> >>> Flex and Royale needs something actual.
> >>> Emulation always can continue efforts on mx chart versions. But new
> >> Royale
> >>> Apps (mostly Jewel, Basic and others) will required some modern
> solution.
> >>>
> >>> Seems all folks here point to ECharts, so I'm planning to create a
> >> library
> >>> for Apache ECharts in the same way I did in the past for MDL, so
> >>> instead
> >> of
> >>> just creating an @extern, it will be a Royale Component with its own
> API.
> >>>
> >>> Another way would be to just create @externs for ECharts, but since
> >>> it
> >> is a
> >>> "component", it seems using like a UIBase inside Royale will benefit
> >> from a
> >>> better integration.
> >>>
> >>> In resume, seems to me what I did for MDL seems the best to apply
> >>> here, instead something like html2pdf, that seems to me a clear
> >>> input that
> >> wants
> >>> a clear output and is not something we require to integrate and mix
> >>> well with other Royale controls and containers
> >>>
> >>> So what do you think about this?
> >>>
> >>>
> >>>
> >>> El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve
> >>> (<mjesteve@iest.com
> >>> )
> >>> escribió:
> >>>
> >>>> Hi,
> >>>>
> >>>> Thanks Harbs.
> >>>>
> >>>> Yesterday I was looking at Carlos's integration with html2PDF,
> >>>> https://github.com/tomLadder/react-native-echarts-wrapper and some
> >>>> examples from the SDK.
> >>>>
> >>>>
> >>>>
> >>>> I have implemented an echart class, another echartInstance, but I
> >>>> don't know if it will work as I need… In principle it seems that I
> >>>> can only create one instance of echart per document (at least
> >>>> that's what they advise, of course) and handle each “independent
> >>>> graph ”With the
> >> property“
> >>>> group ”,…
> >>>>
> >>>>
> >>>>
> >>>> Well, I keep doing tests ... I don't know if I will succeed because
> >>>> I'm going "blind".
> >>>>
> >>>> I will continue to inform you.
> >>>>
> >>>>
> >>>>
> >>>> Thx
> >>>>
> >>>> Hiedra
> >>>>
> >>>>
> >>>>
> >>>> *De:* Harbs <ha...@gmail.com> *Enviado el:* martes, 28 de
> >>>> julio de 2020 8:15
> >>>> *Para:* users@royale.apache.org
> >>>> *Asunto:* Re: Charts
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >> https://royale.apache.org/using-external-javascript-libraries-in-apac
> >> he-royale/
> >>>>
> >>>>
> >>>>
> >>>> Here’s a reference for other frameworks which integrated into echarts:
> >>>> https://echarts.apache.org/en/download-extension.html#framework
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> >>> wrote:
> >>>>
> >>>>
> >>>>
> >>>> Piotr, where should I start? Do you recommend any integration guide?
> >>>>
> >>>> As I have commented, on some other occasion, I do not have an
> >>>> overview
> >> of
> >>>> how we interact with js ...
> >>>>
> >>>>
> >>>>
> >>>> Hiedra.
> >>>>
> >>>>
> >>>>
> >>>> *De:* Piotr Zarzycki <pi...@gmail.com> *Enviado el:*
> >>>> lunes, 27 de julio de 2020 17:31
> >>>> *Para:* users@royale.apache.org
> >>>> *Asunto:* Re: Charts
> >>>>
> >>>>
> >>>>
> >>>> Hi Carlos,
> >>>>
> >>>>
> >>>>
> >>>> I didn't create typedefs and I won't have time for that - unless I
> >>>> will get some direct task to do that. I have simply injected
> >>>> library trough index.html and created AS3 classes which wrap up
> >>>> ECharts library. -
> >>> Anyone
> >>>> can do that in their app. - I just wanted to get information out
> >>>> that - ECharts is working nicely with Royale.
> >>>>
> >>>>
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Piotr
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> >>>> napisał(a):
> >>>>
> >>>> Hi Piotr, Maria,
> >>>>
> >>>>
> >>>>
> >>>> I think we should have an ECharts library in Royale. In this case,
> >>>> I
> >>> don't
> >>>> see the point for old Flex charts, and others here (like Chris
> >>>> Dutz) already showed interest in it. What do you think about adding
> >>>> your
> >>> current
> >>>> library effort to Royale? I think many others here could be
> >>>> interested
> >> in
> >>>> contributing to it.
> >>>>
> >>>>
> >>>>
> >>>> If there's some client restrictions, I think we should plan to add
> >>>> our
> >>> own.
> >>>>
> >>>>
> >>>>
> >>>> Thanks!
> >>>>
> >>>>
> >>>>
> >>>> Carlos
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> >>>> piotrzarzycki21@gmail.com>) escribió:
> >>>>
> >>>> Hi Maria,
> >>>>
> >>>>
> >>>>
> >>>> I don't think that anyone put effort to emulate mx Charts. What's
> >>>> more
> >> it
> >>>> will be difficult to mix them with Jewel, due to CSS conflicts -
> >>>> it's probably doable, but I doubt anyone tried.
> >>>>
> >>>>
> >>>>
> >>>> In our application I didn't even consider using any Charts from
> >>>> Royale
> >> -
> >>>> I went with usage of Apache ECharts [1] - I have finished
> >>>> integrating
> >> it
> >>>> with our Jewel app - it's not released yet, but in terms of
> >>>> integration
> >>> it
> >>>> wasn't too difficult. Maybe this could be your solution.
> >>>>
> >>>>
> >>>>
> >>>> [1] https://echarts.apache.org/
> >>>>
> >>>>
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Piotr
> >>>>
> >>>>
> >>>>
> >>>> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> >>>> napisał(a):
> >>>>
> >>>> Hello,
> >>>>
> >>>> I have to make several Charts (bar and pie) and I was looking at
> >>>> the examples included in the SDK.
> >>>>
> >>>>
> >>>>
> >>>> I am doing tests, in my Jewel Application implementing crux, with
> >>>> the Basic Chart controls but I have problems with the
> >>>> dataproviders. Before continuing I wanted to ask you a question ...
> >>>> could you use the mx
> >>> charts?
> >>>>
> >>>>
> >>>>
> >>>> Thank you
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>>
> >>>> *Piotr Zarzycki *
> >>>>
> >>>> Patreon: *https://www.patreon.com/piotrzarzycki
> >>>> <https://www.patreon.com/piotrzarzycki>*
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>>
> >>>> Carlos Rovira
> >>>>
> >>>> http://about.me/carlosrovira
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>>
> >>>> *Piotr Zarzycki *
> >>>>
> >>>> Patreon: *https://www.patreon.com/piotrzarzycki
> >>>> <https://www.patreon.com/piotrzarzycki>*
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Carlos Rovira
> >>> http://about.me/carlosrovira
> >>>
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >> Patreon: *https://www.patreon.com/piotrzarzycki
> >> <https://www.patreon.com/piotrzarzycki>*
> >>
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
>
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
I am with Carlos, the ideal would be to create a Royale component with its own API, it has many more advantages, but for now we could show "something" with the little time we have ...
See if for this afternoon someone has given their opinion on "what to show" and "how"
Thx.
Hiedra
-----Mensaje original-----
De: Harbs <ha...@gmail.com>
Enviado el: miércoles, 29 de julio de 2020 12:54
Para: dev@royale.apache.org
Asunto: Re: Royale Echarts (was Re: Charts)
Externs is good. I’m not convinced that wrapping echarts in full Royale components is necessarily going to add a lot of value.
I’d love to see what you’ve done.
> On Jul 29, 2020, at 1:26 PM, Maria Jose Esteve <mj...@iest.com> wrote:
>
> Hello Chris,
> I'm not going to help Carlos much because the integration I have is simple, with @extern, does it still seem good to you?
>
> The ECharts sample page is [1]
> I think that between all of us we could choose the templates that we like the most or that we see more operational. How do you see it?
> @Alina has promised to help me: P
>
> This afternoon, when I finish working, I will return to the subject.
>
> Bye.
>
> [1] https://echarts.apache.org/examples/en/index.html
>
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: miércoles,
> 29 de julio de 2020 11:34
> Para: dev@royale.apache.org
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> That would be cool :-)
>
> And I could imagine that this could also help Carlos with the integration work.
>
> Chris
>
>
> Am 29.07.20, 11:11 schrieb "Maria Jose Esteve" <mj...@iest.com>:
>
> Hello Chris,
> I have a little integration with ECharts and could mount some of the examples in their gallery [1] for you (ApacheCon) How do you see it?
>
> [1] https://echarts.apache.org/examples/en/index.html
>
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: martes, 28 de julio de 2020 17:28
> Para: dev@royale.apache.org
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi folks,
>
> I agree that perhaps creating real wrappers for some of the most used charts and creating some documentation on how to add new ones could be a great thing for people wanting to get engaged in the project. Should be fairly simple to do this via PRs.
>
> I remember Harbs saying he had already been working on this?
>
> For my ApacheCon talk proposal "Home automation with apache" this
> would be a super awesome addition ;-)
>
> Chris
>
>
>
> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
>
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all to that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not something that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this case I
> think we should concentrate on most used graphs (Bar, Pie, Columns,
> Area,..), maybe start with just a few most used cases, and make it very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to be easily
> created by extending initial code, and just the same effort that creates
> the typedef stubs. Anyway, other more rare graphs can be left for now. We
> don't need to try to cover fully ECharts since even for typedefs could be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
>> Hi Carlos,
>>
>> Well at some point would love to see wrappers around it, but the more
>> I'm thinking about it the more it is something which may not be worth
>> due to magnitude of work.
>>
>> There are literally hundreds of types of charts and if you wanted to
>> wrap up based on types or something like that you will end up in a rabbit hole.
>>
>> I feel like it would be better to have typedefs and let users to use
>> ECharts documentation to create whatever they want, wrap whatever
>> they need.
>>
>> Thanks,
>> Piotr
>>
>> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
>> napisał(a):
>>
>>> Hi,
>>>
>>> I think charts are a very important part of UX and UI Solutions. It
>>> was
>> for
>>> Flex and Royale needs something actual.
>>> Emulation always can continue efforts on mx chart versions. But new
>> Royale
>>> Apps (mostly Jewel, Basic and others) will required some modern solution.
>>>
>>> Seems all folks here point to ECharts, so I'm planning to create a
>> library
>>> for Apache ECharts in the same way I did in the past for MDL, so
>>> instead
>> of
>>> just creating an @extern, it will be a Royale Component with its own API.
>>>
>>> Another way would be to just create @externs for ECharts, but since
>>> it
>> is a
>>> "component", it seems using like a UIBase inside Royale will benefit
>> from a
>>> better integration.
>>>
>>> In resume, seems to me what I did for MDL seems the best to apply
>>> here, instead something like html2pdf, that seems to me a clear
>>> input that
>> wants
>>> a clear output and is not something we require to integrate and mix
>>> well with other Royale controls and containers
>>>
>>> So what do you think about this?
>>>
>>>
>>>
>>> El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve
>>> (<mjesteve@iest.com
>>> )
>>> escribió:
>>>
>>>> Hi,
>>>>
>>>> Thanks Harbs.
>>>>
>>>> Yesterday I was looking at Carlos's integration with html2PDF,
>>>> https://github.com/tomLadder/react-native-echarts-wrapper and some
>>>> examples from the SDK.
>>>>
>>>>
>>>>
>>>> I have implemented an echart class, another echartInstance, but I
>>>> don't know if it will work as I need… In principle it seems that I
>>>> can only create one instance of echart per document (at least
>>>> that's what they advise, of course) and handle each “independent
>>>> graph ”With the
>> property“
>>>> group ”,…
>>>>
>>>>
>>>>
>>>> Well, I keep doing tests ... I don't know if I will succeed because
>>>> I'm going "blind".
>>>>
>>>> I will continue to inform you.
>>>>
>>>>
>>>>
>>>> Thx
>>>>
>>>> Hiedra
>>>>
>>>>
>>>>
>>>> *De:* Harbs <ha...@gmail.com> *Enviado el:* martes, 28 de
>>>> julio de 2020 8:15
>>>> *Para:* users@royale.apache.org
>>>> *Asunto:* Re: Charts
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>> https://royale.apache.org/using-external-javascript-libraries-in-apac
>> he-royale/
>>>>
>>>>
>>>>
>>>> Here’s a reference for other frameworks which integrated into echarts:
>>>> https://echarts.apache.org/en/download-extension.html#framework
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
>>> wrote:
>>>>
>>>>
>>>>
>>>> Piotr, where should I start? Do you recommend any integration guide?
>>>>
>>>> As I have commented, on some other occasion, I do not have an
>>>> overview
>> of
>>>> how we interact with js ...
>>>>
>>>>
>>>>
>>>> Hiedra.
>>>>
>>>>
>>>>
>>>> *De:* Piotr Zarzycki <pi...@gmail.com> *Enviado el:*
>>>> lunes, 27 de julio de 2020 17:31
>>>> *Para:* users@royale.apache.org
>>>> *Asunto:* Re: Charts
>>>>
>>>>
>>>>
>>>> Hi Carlos,
>>>>
>>>>
>>>>
>>>> I didn't create typedefs and I won't have time for that - unless I
>>>> will get some direct task to do that. I have simply injected
>>>> library trough index.html and created AS3 classes which wrap up
>>>> ECharts library. -
>>> Anyone
>>>> can do that in their app. - I just wanted to get information out
>>>> that - ECharts is working nicely with Royale.
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Piotr
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
>>>> napisał(a):
>>>>
>>>> Hi Piotr, Maria,
>>>>
>>>>
>>>>
>>>> I think we should have an ECharts library in Royale. In this case,
>>>> I
>>> don't
>>>> see the point for old Flex charts, and others here (like Chris
>>>> Dutz) already showed interest in it. What do you think about adding
>>>> your
>>> current
>>>> library effort to Royale? I think many others here could be
>>>> interested
>> in
>>>> contributing to it.
>>>>
>>>>
>>>>
>>>> If there's some client restrictions, I think we should plan to add
>>>> our
>>> own.
>>>>
>>>>
>>>>
>>>> Thanks!
>>>>
>>>>
>>>>
>>>> Carlos
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
>>>> piotrzarzycki21@gmail.com>) escribió:
>>>>
>>>> Hi Maria,
>>>>
>>>>
>>>>
>>>> I don't think that anyone put effort to emulate mx Charts. What's
>>>> more
>> it
>>>> will be difficult to mix them with Jewel, due to CSS conflicts -
>>>> it's probably doable, but I doubt anyone tried.
>>>>
>>>>
>>>>
>>>> In our application I didn't even consider using any Charts from
>>>> Royale
>> -
>>>> I went with usage of Apache ECharts [1] - I have finished
>>>> integrating
>> it
>>>> with our Jewel app - it's not released yet, but in terms of
>>>> integration
>>> it
>>>> wasn't too difficult. Maybe this could be your solution.
>>>>
>>>>
>>>>
>>>> [1] https://echarts.apache.org/
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Piotr
>>>>
>>>>
>>>>
>>>> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
>>>> napisał(a):
>>>>
>>>> Hello,
>>>>
>>>> I have to make several Charts (bar and pie) and I was looking at
>>>> the examples included in the SDK.
>>>>
>>>>
>>>>
>>>> I am doing tests, in my Jewel Application implementing crux, with
>>>> the Basic Chart controls but I have problems with the
>>>> dataproviders. Before continuing I wanted to ask you a question ...
>>>> could you use the mx
>>> charts?
>>>>
>>>>
>>>>
>>>> Thank you
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Piotr Zarzycki *
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Carlos Rovira
>>>>
>>>> http://about.me/carlosrovira
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Piotr Zarzycki *
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
Re: Royale Echarts (was Re: Charts)
Posted by Harbs <ha...@gmail.com>.
Externs is good. I’m not convinced that wrapping echarts in full Royale components is necessarily going to add a lot of value.
I’d love to see what you’ve done.
> On Jul 29, 2020, at 1:26 PM, Maria Jose Esteve <mj...@iest.com> wrote:
>
> Hello Chris,
> I'm not going to help Carlos much because the integration I have is simple, with @extern, does it still seem good to you?
>
> The ECharts sample page is [1]
> I think that between all of us we could choose the templates that we like the most or that we see more operational. How do you see it?
> @Alina has promised to help me: P
>
> This afternoon, when I finish working, I will return to the subject.
>
> Bye.
>
> [1] https://echarts.apache.org/examples/en/index.html
>
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: miércoles, 29 de julio de 2020 11:34
> Para: dev@royale.apache.org
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> That would be cool :-)
>
> And I could imagine that this could also help Carlos with the integration work.
>
> Chris
>
>
> Am 29.07.20, 11:11 schrieb "Maria Jose Esteve" <mj...@iest.com>:
>
> Hello Chris,
> I have a little integration with ECharts and could mount some of the examples in their gallery [1] for you (ApacheCon) How do you see it?
>
> [1] https://echarts.apache.org/examples/en/index.html
>
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: martes, 28 de julio de 2020 17:28
> Para: dev@royale.apache.org
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi folks,
>
> I agree that perhaps creating real wrappers for some of the most used charts and creating some documentation on how to add new ones could be a great thing for people wanting to get engaged in the project. Should be fairly simple to do this via PRs.
>
> I remember Harbs saying he had already been working on this?
>
> For my ApacheCon talk proposal "Home automation with apache" this would be a super awesome addition ;-)
>
> Chris
>
>
>
> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
>
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all to that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not something that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this case I
> think we should concentrate on most used graphs (Bar, Pie, Columns,
> Area,..), maybe start with just a few most used cases, and make it very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to be easily
> created by extending initial code, and just the same effort that creates
> the typedef stubs. Anyway, other more rare graphs can be left for now. We
> don't need to try to cover fully ECharts since even for typedefs could be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
>> Hi Carlos,
>>
>> Well at some point would love to see wrappers around it, but the more I'm
>> thinking about it the more it is something which may not be worth due to
>> magnitude of work.
>>
>> There are literally hundreds of types of charts and if you wanted to wrap
>> up based on types or something like that you will end up in a rabbit hole.
>>
>> I feel like it would be better to have typedefs and let users to use
>> ECharts documentation to create whatever they want, wrap whatever they
>> need.
>>
>> Thanks,
>> Piotr
>>
>> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
>> napisał(a):
>>
>>> Hi,
>>>
>>> I think charts are a very important part of UX and UI Solutions. It was
>> for
>>> Flex and Royale needs something actual.
>>> Emulation always can continue efforts on mx chart versions. But new
>> Royale
>>> Apps (mostly Jewel, Basic and others) will required some modern solution.
>>>
>>> Seems all folks here point to ECharts, so I'm planning to create a
>> library
>>> for Apache ECharts in the same way I did in the past for MDL, so instead
>> of
>>> just creating an @extern, it will be a Royale Component with its own API.
>>>
>>> Another way would be to just create @externs for ECharts, but since it
>> is a
>>> "component", it seems using like a UIBase inside Royale will benefit
>> from a
>>> better integration.
>>>
>>> In resume, seems to me what I did for MDL seems the best to apply here,
>>> instead something like html2pdf, that seems to me a clear input that
>> wants
>>> a clear output and is not something we require to integrate and mix well
>>> with other Royale controls and containers
>>>
>>> So what do you think about this?
>>>
>>>
>>>
>>> El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mjesteve@iest.com
>>> )
>>> escribió:
>>>
>>>> Hi,
>>>>
>>>> Thanks Harbs.
>>>>
>>>> Yesterday I was looking at Carlos's integration with html2PDF,
>>>> https://github.com/tomLadder/react-native-echarts-wrapper and some
>>>> examples from the SDK.
>>>>
>>>>
>>>>
>>>> I have implemented an echart class, another echartInstance, but I don't
>>>> know if it will work as I need… In principle it seems that I can only
>>>> create one instance of echart per document (at least that's what they
>>>> advise, of course) and handle each “independent graph ”With the
>> property“
>>>> group ”,…
>>>>
>>>>
>>>>
>>>> Well, I keep doing tests ... I don't know if I will succeed because I'm
>>>> going "blind".
>>>>
>>>> I will continue to inform you.
>>>>
>>>>
>>>>
>>>> Thx
>>>>
>>>> Hiedra
>>>>
>>>>
>>>>
>>>> *De:* Harbs <ha...@gmail.com>
>>>> *Enviado el:* martes, 28 de julio de 2020 8:15
>>>> *Para:* users@royale.apache.org
>>>> *Asunto:* Re: Charts
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
>>>>
>>>>
>>>>
>>>> Here’s a reference for other frameworks which integrated into echarts:
>>>> https://echarts.apache.org/en/download-extension.html#framework
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
>>> wrote:
>>>>
>>>>
>>>>
>>>> Piotr, where should I start? Do you recommend any integration guide?
>>>>
>>>> As I have commented, on some other occasion, I do not have an overview
>> of
>>>> how we interact with js ...
>>>>
>>>>
>>>>
>>>> Hiedra.
>>>>
>>>>
>>>>
>>>> *De:* Piotr Zarzycki <pi...@gmail.com>
>>>> *Enviado el:* lunes, 27 de julio de 2020 17:31
>>>> *Para:* users@royale.apache.org
>>>> *Asunto:* Re: Charts
>>>>
>>>>
>>>>
>>>> Hi Carlos,
>>>>
>>>>
>>>>
>>>> I didn't create typedefs and I won't have time for that - unless I will
>>>> get some direct task to do that. I have simply injected library trough
>>>> index.html and created AS3 classes which wrap up ECharts library. -
>>> Anyone
>>>> can do that in their app. - I just wanted to get information out that -
>>>> ECharts is working nicely with Royale.
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Piotr
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
>>>> napisał(a):
>>>>
>>>> Hi Piotr, Maria,
>>>>
>>>>
>>>>
>>>> I think we should have an ECharts library in Royale. In this case, I
>>> don't
>>>> see the point for old Flex charts, and others here (like Chris Dutz)
>>>> already showed interest in it. What do you think about adding your
>>> current
>>>> library effort to Royale? I think many others here could be interested
>> in
>>>> contributing to it.
>>>>
>>>>
>>>>
>>>> If there's some client restrictions, I think we should plan to add our
>>> own.
>>>>
>>>>
>>>>
>>>> Thanks!
>>>>
>>>>
>>>>
>>>> Carlos
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
>>>> piotrzarzycki21@gmail.com>) escribió:
>>>>
>>>> Hi Maria,
>>>>
>>>>
>>>>
>>>> I don't think that anyone put effort to emulate mx Charts. What's more
>> it
>>>> will be difficult to mix them with Jewel, due to CSS conflicts - it's
>>>> probably doable, but I doubt anyone tried.
>>>>
>>>>
>>>>
>>>> In our application I didn't even consider using any Charts from Royale
>> -
>>>> I went with usage of Apache ECharts [1] - I have finished integrating
>> it
>>>> with our Jewel app - it's not released yet, but in terms of integration
>>> it
>>>> wasn't too difficult. Maybe this could be your solution.
>>>>
>>>>
>>>>
>>>> [1] https://echarts.apache.org/
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Piotr
>>>>
>>>>
>>>>
>>>> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
>>>> napisał(a):
>>>>
>>>> Hello,
>>>>
>>>> I have to make several Charts (bar and pie) and I was looking at the
>>>> examples included in the SDK.
>>>>
>>>>
>>>>
>>>> I am doing tests, in my Jewel Application implementing crux, with the
>>>> Basic Chart controls but I have problems with the dataproviders. Before
>>>> continuing I wanted to ask you a question ... could you use the mx
>>> charts?
>>>>
>>>>
>>>>
>>>> Thank you
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Piotr Zarzycki *
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Carlos Rovira
>>>>
>>>> http://about.me/carlosrovira
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Piotr Zarzycki *
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Hello Chris,
I'm not going to help Carlos much because the integration I have is simple, with @extern, does it still seem good to you?
The ECharts sample page is [1]
I think that between all of us we could choose the templates that we like the most or that we see more operational. How do you see it?
@Alina has promised to help me: P
This afternoon, when I finish working, I will return to the subject.
Bye.
[1] https://echarts.apache.org/examples/en/index.html
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: miércoles, 29 de julio de 2020 11:34
Para: dev@royale.apache.org
Asunto: Re: Royale Echarts (was Re: Charts)
That would be cool :-)
And I could imagine that this could also help Carlos with the integration work.
Chris
Am 29.07.20, 11:11 schrieb "Maria Jose Esteve" <mj...@iest.com>:
Hello Chris,
I have a little integration with ECharts and could mount some of the examples in their gallery [1] for you (ApacheCon) How do you see it?
[1] https://echarts.apache.org/examples/en/index.html
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: martes, 28 de julio de 2020 17:28
Para: dev@royale.apache.org
Asunto: Re: Royale Echarts (was Re: Charts)
Hi folks,
I agree that perhaps creating real wrappers for some of the most used charts and creating some documentation on how to add new ones could be a great thing for people wanting to get engaged in the project. Should be fairly simple to do this via PRs.
I remember Harbs saying he had already been working on this?
For my ApacheCon talk proposal "Home automation with apache" this would be a super awesome addition ;-)
Chris
Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
Hi Piotr,
I saw there's lots of graphs in ECharts, and trying to bring all to that
library could be a huge amount of work.
On the other hand just typedefs could be in this case not something that
integrates really good with the rest of royale.
Most of the time things should not be black or white, and in this case I
think we should concentrate on most used graphs (Bar, Pie, Columns,
Area,..), maybe start with just a few most used cases, and make it very
usable in Royale.
After that, others could bring more graphs. I expect the rest to be easily
created by extending initial code, and just the same effort that creates
the typedef stubs. Anyway, other more rare graphs can be left for now. We
don't need to try to cover fully ECharts since even for typedefs could be
huge work.
just my 2
El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Carlos,
>
> Well at some point would love to see wrappers around it, but the more I'm
> thinking about it the more it is something which may not be worth due to
> magnitude of work.
>
> There are literally hundreds of types of charts and if you wanted to wrap
> up based on types or something like that you will end up in a rabbit hole.
>
> I feel like it would be better to have typedefs and let users to use
> ECharts documentation to create whatever they want, wrap whatever they
> need.
>
> Thanks,
> Piotr
>
> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I think charts are a very important part of UX and UI Solutions. It was
> for
> > Flex and Royale needs something actual.
> > Emulation always can continue efforts on mx chart versions. But new
> Royale
> > Apps (mostly Jewel, Basic and others) will required some modern solution.
> >
> > Seems all folks here point to ECharts, so I'm planning to create a
> library
> > for Apache ECharts in the same way I did in the past for MDL, so instead
> of
> > just creating an @extern, it will be a Royale Component with its own API.
> >
> > Another way would be to just create @externs for ECharts, but since it
> is a
> > "component", it seems using like a UIBase inside Royale will benefit
> from a
> > better integration.
> >
> > In resume, seems to me what I did for MDL seems the best to apply here,
> > instead something like html2pdf, that seems to me a clear input that
> wants
> > a clear output and is not something we require to integrate and mix well
> > with other Royale controls and containers
> >
> > So what do you think about this?
> >
> >
> >
> > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mjesteve@iest.com
> >)
> > escribió:
> >
> > > Hi,
> > >
> > > Thanks Harbs.
> > >
> > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > > examples from the SDK.
> > >
> > >
> > >
> > > I have implemented an echart class, another echartInstance, but I don't
> > > know if it will work as I need… In principle it seems that I can only
> > > create one instance of echart per document (at least that's what they
> > > advise, of course) and handle each “independent graph ”With the
> property“
> > > group ”,…
> > >
> > >
> > >
> > > Well, I keep doing tests ... I don't know if I will succeed because I'm
> > > going "blind".
> > >
> > > I will continue to inform you.
> > >
> > >
> > >
> > > Thx
> > >
> > > Hiedra
> > >
> > >
> > >
> > > *De:* Harbs <ha...@gmail.com>
> > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > >
> > >
> > >
> > > Here’s a reference for other frameworks which integrated into echarts:
> > > https://echarts.apache.org/en/download-extension.html#framework
> > >
> > >
> > >
> > >
> > >
> > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> > wrote:
> > >
> > >
> > >
> > > Piotr, where should I start? Do you recommend any integration guide?
> > >
> > > As I have commented, on some other occasion, I do not have an overview
> of
> > > how we interact with js ...
> > >
> > >
> > >
> > > Hiedra.
> > >
> > >
> > >
> > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > > Hi Carlos,
> > >
> > >
> > >
> > > I didn't create typedefs and I won't have time for that - unless I will
> > > get some direct task to do that. I have simply injected library trough
> > > index.html and created AS3 classes which wrap up ECharts library. -
> > Anyone
> > > can do that in their app. - I just wanted to get information out that -
> > > ECharts is working nicely with Royale.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > Hi Piotr, Maria,
> > >
> > >
> > >
> > > I think we should have an ECharts library in Royale. In this case, I
> > don't
> > > see the point for old Flex charts, and others here (like Chris Dutz)
> > > already showed interest in it. What do you think about adding your
> > current
> > > library effort to Royale? I think many others here could be interested
> in
> > > contributing to it.
> > >
> > >
> > >
> > > If there's some client restrictions, I think we should plan to add our
> > own.
> > >
> > >
> > >
> > > Thanks!
> > >
> > >
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > Hi Maria,
> > >
> > >
> > >
> > > I don't think that anyone put effort to emulate mx Charts. What's more
> it
> > > will be difficult to mix them with Jewel, due to CSS conflicts - it's
> > > probably doable, but I doubt anyone tried.
> > >
> > >
> > >
> > > In our application I didn't even consider using any Charts from Royale
> -
> > > I went with usage of Apache ECharts [1] - I have finished integrating
> it
> > > with our Jewel app - it's not released yet, but in terms of integration
> > it
> > > wasn't too difficult. Maybe this could be your solution.
> > >
> > >
> > >
> > > [1] https://echarts.apache.org/
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > napisał(a):
> > >
> > > Hello,
> > >
> > > I have to make several Charts (bar and pie) and I was looking at the
> > > examples included in the SDK.
> > >
> > >
> > >
> > > I am doing tests, in my Jewel Application implementing crux, with the
> > > Basic Chart controls but I have problems with the dataproviders. Before
> > > continuing I wanted to ask you a question ... could you use the mx
> > charts?
> > >
> > >
> > >
> > > Thank you
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Carlos Rovira
> > >
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Royale Echarts (was Re: Charts)
Posted by Christofer Dutz <ch...@c-ware.de>.
That would be cool :-)
And I could imagine that this could also help Carlos with the integration work.
Chris
Am 29.07.20, 11:11 schrieb "Maria Jose Esteve" <mj...@iest.com>:
Hello Chris,
I have a little integration with ECharts and could mount some of the examples in their gallery [1] for you (ApacheCon) How do you see it?
[1] https://echarts.apache.org/examples/en/index.html
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: martes, 28 de julio de 2020 17:28
Para: dev@royale.apache.org
Asunto: Re: Royale Echarts (was Re: Charts)
Hi folks,
I agree that perhaps creating real wrappers for some of the most used charts and creating some documentation on how to add new ones could be a great thing for people wanting to get engaged in the project. Should be fairly simple to do this via PRs.
I remember Harbs saying he had already been working on this?
For my ApacheCon talk proposal "Home automation with apache" this would be a super awesome addition ;-)
Chris
Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
Hi Piotr,
I saw there's lots of graphs in ECharts, and trying to bring all to that
library could be a huge amount of work.
On the other hand just typedefs could be in this case not something that
integrates really good with the rest of royale.
Most of the time things should not be black or white, and in this case I
think we should concentrate on most used graphs (Bar, Pie, Columns,
Area,..), maybe start with just a few most used cases, and make it very
usable in Royale.
After that, others could bring more graphs. I expect the rest to be easily
created by extending initial code, and just the same effort that creates
the typedef stubs. Anyway, other more rare graphs can be left for now. We
don't need to try to cover fully ECharts since even for typedefs could be
huge work.
just my 2
El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Carlos,
>
> Well at some point would love to see wrappers around it, but the more I'm
> thinking about it the more it is something which may not be worth due to
> magnitude of work.
>
> There are literally hundreds of types of charts and if you wanted to wrap
> up based on types or something like that you will end up in a rabbit hole.
>
> I feel like it would be better to have typedefs and let users to use
> ECharts documentation to create whatever they want, wrap whatever they
> need.
>
> Thanks,
> Piotr
>
> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I think charts are a very important part of UX and UI Solutions. It was
> for
> > Flex and Royale needs something actual.
> > Emulation always can continue efforts on mx chart versions. But new
> Royale
> > Apps (mostly Jewel, Basic and others) will required some modern solution.
> >
> > Seems all folks here point to ECharts, so I'm planning to create a
> library
> > for Apache ECharts in the same way I did in the past for MDL, so instead
> of
> > just creating an @extern, it will be a Royale Component with its own API.
> >
> > Another way would be to just create @externs for ECharts, but since it
> is a
> > "component", it seems using like a UIBase inside Royale will benefit
> from a
> > better integration.
> >
> > In resume, seems to me what I did for MDL seems the best to apply here,
> > instead something like html2pdf, that seems to me a clear input that
> wants
> > a clear output and is not something we require to integrate and mix well
> > with other Royale controls and containers
> >
> > So what do you think about this?
> >
> >
> >
> > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mjesteve@iest.com
> >)
> > escribió:
> >
> > > Hi,
> > >
> > > Thanks Harbs.
> > >
> > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > > examples from the SDK.
> > >
> > >
> > >
> > > I have implemented an echart class, another echartInstance, but I don't
> > > know if it will work as I need… In principle it seems that I can only
> > > create one instance of echart per document (at least that's what they
> > > advise, of course) and handle each “independent graph ”With the
> property“
> > > group ”,…
> > >
> > >
> > >
> > > Well, I keep doing tests ... I don't know if I will succeed because I'm
> > > going "blind".
> > >
> > > I will continue to inform you.
> > >
> > >
> > >
> > > Thx
> > >
> > > Hiedra
> > >
> > >
> > >
> > > *De:* Harbs <ha...@gmail.com>
> > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > >
> > >
> > >
> > > Here’s a reference for other frameworks which integrated into echarts:
> > > https://echarts.apache.org/en/download-extension.html#framework
> > >
> > >
> > >
> > >
> > >
> > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> > wrote:
> > >
> > >
> > >
> > > Piotr, where should I start? Do you recommend any integration guide?
> > >
> > > As I have commented, on some other occasion, I do not have an overview
> of
> > > how we interact with js ...
> > >
> > >
> > >
> > > Hiedra.
> > >
> > >
> > >
> > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > > Hi Carlos,
> > >
> > >
> > >
> > > I didn't create typedefs and I won't have time for that - unless I will
> > > get some direct task to do that. I have simply injected library trough
> > > index.html and created AS3 classes which wrap up ECharts library. -
> > Anyone
> > > can do that in their app. - I just wanted to get information out that -
> > > ECharts is working nicely with Royale.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > Hi Piotr, Maria,
> > >
> > >
> > >
> > > I think we should have an ECharts library in Royale. In this case, I
> > don't
> > > see the point for old Flex charts, and others here (like Chris Dutz)
> > > already showed interest in it. What do you think about adding your
> > current
> > > library effort to Royale? I think many others here could be interested
> in
> > > contributing to it.
> > >
> > >
> > >
> > > If there's some client restrictions, I think we should plan to add our
> > own.
> > >
> > >
> > >
> > > Thanks!
> > >
> > >
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > Hi Maria,
> > >
> > >
> > >
> > > I don't think that anyone put effort to emulate mx Charts. What's more
> it
> > > will be difficult to mix them with Jewel, due to CSS conflicts - it's
> > > probably doable, but I doubt anyone tried.
> > >
> > >
> > >
> > > In our application I didn't even consider using any Charts from Royale
> -
> > > I went with usage of Apache ECharts [1] - I have finished integrating
> it
> > > with our Jewel app - it's not released yet, but in terms of integration
> > it
> > > wasn't too difficult. Maybe this could be your solution.
> > >
> > >
> > >
> > > [1] https://echarts.apache.org/
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > napisał(a):
> > >
> > > Hello,
> > >
> > > I have to make several Charts (bar and pie) and I was looking at the
> > > examples included in the SDK.
> > >
> > >
> > >
> > > I am doing tests, in my Jewel Application implementing crux, with the
> > > Basic Chart controls but I have problems with the dataproviders. Before
> > > continuing I wanted to ask you a question ... could you use the mx
> > charts?
> > >
> > >
> > >
> > > Thank you
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Carlos Rovira
> > >
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Hello Chris,
I have a little integration with ECharts and could mount some of the examples in their gallery [1] for you (ApacheCon) How do you see it?
[1] https://echarts.apache.org/examples/en/index.html
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: martes, 28 de julio de 2020 17:28
Para: dev@royale.apache.org
Asunto: Re: Royale Echarts (was Re: Charts)
Hi folks,
I agree that perhaps creating real wrappers for some of the most used charts and creating some documentation on how to add new ones could be a great thing for people wanting to get engaged in the project. Should be fairly simple to do this via PRs.
I remember Harbs saying he had already been working on this?
For my ApacheCon talk proposal "Home automation with apache" this would be a super awesome addition ;-)
Chris
Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
Hi Piotr,
I saw there's lots of graphs in ECharts, and trying to bring all to that
library could be a huge amount of work.
On the other hand just typedefs could be in this case not something that
integrates really good with the rest of royale.
Most of the time things should not be black or white, and in this case I
think we should concentrate on most used graphs (Bar, Pie, Columns,
Area,..), maybe start with just a few most used cases, and make it very
usable in Royale.
After that, others could bring more graphs. I expect the rest to be easily
created by extending initial code, and just the same effort that creates
the typedef stubs. Anyway, other more rare graphs can be left for now. We
don't need to try to cover fully ECharts since even for typedefs could be
huge work.
just my 2
El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Carlos,
>
> Well at some point would love to see wrappers around it, but the more I'm
> thinking about it the more it is something which may not be worth due to
> magnitude of work.
>
> There are literally hundreds of types of charts and if you wanted to wrap
> up based on types or something like that you will end up in a rabbit hole.
>
> I feel like it would be better to have typedefs and let users to use
> ECharts documentation to create whatever they want, wrap whatever they
> need.
>
> Thanks,
> Piotr
>
> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I think charts are a very important part of UX and UI Solutions. It was
> for
> > Flex and Royale needs something actual.
> > Emulation always can continue efforts on mx chart versions. But new
> Royale
> > Apps (mostly Jewel, Basic and others) will required some modern solution.
> >
> > Seems all folks here point to ECharts, so I'm planning to create a
> library
> > for Apache ECharts in the same way I did in the past for MDL, so instead
> of
> > just creating an @extern, it will be a Royale Component with its own API.
> >
> > Another way would be to just create @externs for ECharts, but since it
> is a
> > "component", it seems using like a UIBase inside Royale will benefit
> from a
> > better integration.
> >
> > In resume, seems to me what I did for MDL seems the best to apply here,
> > instead something like html2pdf, that seems to me a clear input that
> wants
> > a clear output and is not something we require to integrate and mix well
> > with other Royale controls and containers
> >
> > So what do you think about this?
> >
> >
> >
> > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mjesteve@iest.com
> >)
> > escribió:
> >
> > > Hi,
> > >
> > > Thanks Harbs.
> > >
> > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > > examples from the SDK.
> > >
> > >
> > >
> > > I have implemented an echart class, another echartInstance, but I don't
> > > know if it will work as I need… In principle it seems that I can only
> > > create one instance of echart per document (at least that's what they
> > > advise, of course) and handle each “independent graph ”With the
> property“
> > > group ”,…
> > >
> > >
> > >
> > > Well, I keep doing tests ... I don't know if I will succeed because I'm
> > > going "blind".
> > >
> > > I will continue to inform you.
> > >
> > >
> > >
> > > Thx
> > >
> > > Hiedra
> > >
> > >
> > >
> > > *De:* Harbs <ha...@gmail.com>
> > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > >
> > >
> > >
> > > Here’s a reference for other frameworks which integrated into echarts:
> > > https://echarts.apache.org/en/download-extension.html#framework
> > >
> > >
> > >
> > >
> > >
> > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> > wrote:
> > >
> > >
> > >
> > > Piotr, where should I start? Do you recommend any integration guide?
> > >
> > > As I have commented, on some other occasion, I do not have an overview
> of
> > > how we interact with js ...
> > >
> > >
> > >
> > > Hiedra.
> > >
> > >
> > >
> > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > > Hi Carlos,
> > >
> > >
> > >
> > > I didn't create typedefs and I won't have time for that - unless I will
> > > get some direct task to do that. I have simply injected library trough
> > > index.html and created AS3 classes which wrap up ECharts library. -
> > Anyone
> > > can do that in their app. - I just wanted to get information out that -
> > > ECharts is working nicely with Royale.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > Hi Piotr, Maria,
> > >
> > >
> > >
> > > I think we should have an ECharts library in Royale. In this case, I
> > don't
> > > see the point for old Flex charts, and others here (like Chris Dutz)
> > > already showed interest in it. What do you think about adding your
> > current
> > > library effort to Royale? I think many others here could be interested
> in
> > > contributing to it.
> > >
> > >
> > >
> > > If there's some client restrictions, I think we should plan to add our
> > own.
> > >
> > >
> > >
> > > Thanks!
> > >
> > >
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > Hi Maria,
> > >
> > >
> > >
> > > I don't think that anyone put effort to emulate mx Charts. What's more
> it
> > > will be difficult to mix them with Jewel, due to CSS conflicts - it's
> > > probably doable, but I doubt anyone tried.
> > >
> > >
> > >
> > > In our application I didn't even consider using any Charts from Royale
> -
> > > I went with usage of Apache ECharts [1] - I have finished integrating
> it
> > > with our Jewel app - it's not released yet, but in terms of integration
> > it
> > > wasn't too difficult. Maybe this could be your solution.
> > >
> > >
> > >
> > > [1] https://echarts.apache.org/
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > napisał(a):
> > >
> > > Hello,
> > >
> > > I have to make several Charts (bar and pie) and I was looking at the
> > > examples included in the SDK.
> > >
> > >
> > >
> > > I am doing tests, in my Jewel Application implementing crux, with the
> > > Basic Chart controls but I have problems with the dataproviders. Before
> > > continuing I wanted to ask you a question ... could you use the mx
> > charts?
> > >
> > >
> > >
> > > Thank you
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Carlos Rovira
> > >
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Fixed, adding the repositories to download them. (Sure you need debugging)
I have also passed the project to Library, following the template [1]
I'm going for the test Project 😝
I keep telling you.
Hiedra.
[1] \royale-asjs\archetypes\royale-simple-library-archetype\src\main\resources\archetype-resources\pom.xml
-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com>
Enviado el: viernes, 14 de agosto de 2020 14:35
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
Sorry, The image of the error is not seen ... I paste text
PS D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts> mvn clean install -DskipTests [WARNING] The POM for org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT is missing, no dependency information available [WARNING] Failed to read extensions descriptor D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\.mvn\extensions.xml: Plugin org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.proj.example:royale-echarts >------------------- [INFO] Building royale-echarts 1.0-SNAPSHOT [INFO] --------------------------------[ swf ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ royale-echarts --- [INFO] Deleting D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\target
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ royale-echarts --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Using 'null' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\src\main\resources
[INFO]
[INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) @ royale-echarts --- [WARNING] The POM for com.adobe.flash.framework:playerglobal:swc:20.0 is missing, no dependency information available [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.053 s
[INFO] Finished at: 2020-08-14T14:33:59+02:00 [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.royale.compiler:royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) on project royale-echarts: Could not resolve dependencies for project com.proj.example:royale-echarts:swf:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.royale.framework:Core:swc:0.9.8-SNAPSHOT, com.adobe.flash.framework:playerglobal:swc:20.0,
org.apache.royale.framework:HTML:swc:0.9.8-SNAPSHOT: Could not find artifact org.apache.royale.framework:Core:swc:0.9.8-SNAPSHOT -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
PS D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts>
De: Maria Jose Esteve <mj...@iest.com> Enviado el: viernes, 14 de agosto de 2020 14:26
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
Hello,
I already have a few examples assembled and a shuttle for them 😝
As I have no experience with Maven or with compiling swc, etc, etc, I mounted them in a project, from my work, that "I had up and running" to do the initial tests, and everything OK.
To create the final project I have followed the steps indicated here [1] but I can't compile it ☹
The [2] instruction doesn't work for me because I don't have the settings-template.xml file.
I have launched the compilation, from the vscode Terminal, with the following instruction [3] it starts to compile but it gives me an error because it cannot find the artifacts ...
[cid:image001.png@01D67245.02877530]
I have included a .vscode/settings.json file with the 0.9.8 SDK settings but it doesn't work. Can you help me?
The repository [4] is made up of two projects, one for echarts and one for the examples.
I have not tried to compile the project with the examples, I have only copied the sample files that I had but I imagine that if I mounted it it would give me the same problem.
I have created a develop branch.
[1] https://github.com/apache/royale-asjs/wiki/Create-Royale-project-with-Maven
[2] mvn -s /Users/<YourUser>/<Path-To-You-Royale-Repo>/settings-template.xml clean install
[3] mvn clean install -DskipTests
[4] https://github.com/mjesteve/Royale-ECharts.git
Any help is welcome.
Thank you very much.
Hiedra
-----Mensaje original-----
De: Carlos Rovira <ca...@apache.org>>
Enviado el: miércoles, 29 de julio de 2020 18:23
Para: Apache Royale Development <de...@royale.apache.org>>
Asunto: Re: Royale Echarts (was Re: Charts)
Hi Maria Jose,
if the externs path is right for now, maybe you could create a temporal project in Github so we can take a look and try to use it.
Then it will be easier to see if we finally need royale component or just externs are sufficient.
For me right now is difficult to choose one path or other since I'm seeing that seems very easy to integrate, but maybe we could need some Royale data integration, or manage sizes or any other thing that could appear as we use it.
El mié., 29 jul. 2020 a las 17:55, Maria Jose Esteve (<mj...@iest.com>>)
escribió:
> Chris,
> Do I have to mount the project in any specific way?
> My idea is, create a JSRoyale project with crux, maybe. (mvc)
>
> Do you have or do we have a repo for this?
>
> Thx.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz
> <ch...@c-ware.de>> Enviado
> el: martes, 28
> de julio de 2020 17:28
> Para: dev@royale.apache.org<ma...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi folks,
>
> I agree that perhaps creating real wrappers for some of the most used
> charts and creating some documentation on how to add new ones could be
> a great thing for people wanting to get engaged in the project. Should
> be fairly simple to do this via PRs.
>
> I remember Harbs saying he had already been working on this?
>
> For my ApacheCon talk proposal "Home automation with apache" this
> would be a super awesome addition ;-)
>
> Chris
>
>
>
> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>>:
>
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all
> to that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not
> something that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this
> case I
> think we should concentrate on most used graphs (Bar, Pie,
> Columns,
> Area,..), maybe start with just a few most used cases, and make it
> very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to
> be easily
> created by extending initial code, and just the same effort that
> creates
> the typedef stubs. Anyway, other more rare graphs can be left for now.
> We
> don't need to try to cover fully ECharts since even for typedefs
> could be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
>
> > Hi Carlos,
> >
> > Well at some point would love to see wrappers around it, but the
> more I'm
> > thinking about it the more it is something which may not be
> worth due to
> > magnitude of work.
> >
> > There are literally hundreds of types of charts and if you
> wanted to wrap
> > up based on types or something like that you will end up in a
> rabbit hole.
> >
> > I feel like it would be better to have typedefs and let users to
> use
> > ECharts documentation to create whatever they want, wrap
> whatever they
> > need.
> >
> > Thanks,
> > Piotr
> >
> > wt., 28 lip 2020 o 11:53 Carlos Rovira
> <ca...@apache.org>>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I think charts are a very important part of UX and UI Solutions.
> It was
> > for
> > > Flex and Royale needs something actual.
> > > Emulation always can continue efforts on mx chart versions.
> But new
> > Royale
> > > Apps (mostly Jewel, Basic and others) will required some
> modern solution.
> > >
> > > Seems all folks here point to ECharts, so I'm planning to
> create a
> > library
> > > for Apache ECharts in the same way I did in the past for MDL,
> so instead
> > of
> > > just creating an @extern, it will be a Royale Component with
> its own API.
> > >
> > > Another way would be to just create @externs for ECharts, but
> since it
> > is a
> > > "component", it seems using like a UIBase inside Royale will
> benefit
> > from a
> > > better integration.
> > >
> > > In resume, seems to me what I did for MDL seems the best to
> apply here,
> > > instead something like html2pdf, that seems to me a clear
> input that
> > wants
> > > a clear output and is not something we require to integrate
> and mix well
> > > with other Royale controls and containers
> > >
> > > So what do you think about this?
> > >
> > >
> > >
> > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> mjesteve@iest.com<ma...@iest.com>
> > >)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > Thanks Harbs.
> > > >
> > > > Yesterday I was looking at Carlos's integration with
> html2PDF,
> > > > https://github.com/tomLadder/react-native-echarts-wrapper
> and some
> > > > examples from the SDK.
> > > >
> > > >
> > > >
> > > > I have implemented an echart class, another echartInstance,
> but I don't
> > > > know if it will work as I need… In principle it seems that I
> can only
> > > > create one instance of echart per document (at least that's
> what they
> > > > advise, of course) and handle each “independent graph ”With
> the
> > property“
> > > > group ”,…
> > > >
> > > >
> > > >
> > > > Well, I keep doing tests ... I don't know if I will succeed
> because I'm
> > > > going "blind".
> > > >
> > > > I will continue to inform you.
> > > >
> > > >
> > > >
> > > > Thx
> > > >
> > > > Hiedra
> > > >
> > > >
> > > >
> > > > *De:* Harbs
> <ha...@gmail.com>>
> > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > *Para:*
> users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apach
> e-royale/
> > > >
> > > >
> > > >
> > > > Here’s a reference for other frameworks which integrated
> into
> echarts:
> > > >
> https://echarts.apache.org/en/download-extension.html#framework
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <
> mjesteve@iest.com<ma...@iest.com>>
> > > wrote:
> > > >
> > > >
> > > >
> > > > Piotr, where should I start? Do you recommend any
> integration guide?
> > > >
> > > > As I have commented, on some other occasion, I do not have
> an overview
> > of
> > > > how we interact with js ...
> > > >
> > > >
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > *De:* Piotr Zarzycki
> <pi...@gmail.com>>
> > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > *Para:*
> users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > > Hi Carlos,
> > > >
> > > >
> > > >
> > > > I didn't create typedefs and I won't have time for that -
> unless I will
> > > > get some direct task to do that. I have simply injected
> library trough
> > > > index.html and created AS3 classes which wrap up ECharts
> library. -
> > > Anyone
> > > > can do that in their app. - I just wanted to get information
> out that -
> > > > ECharts is working nicely with Royale.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 17:18 Carlos Rovira
> <carlosrovira@apache.org
> >
> > > > napisał(a):
> > > >
> > > > Hi Piotr, Maria,
> > > >
> > > >
> > > >
> > > > I think we should have an ECharts library in Royale. In this
> case, I
> > > don't
> > > > see the point for old Flex charts, and others here (like
> Chris
> Dutz)
> > > > already showed interest in it. What do you think about
> adding your
> > > current
> > > > library effort to Royale? I think many others here could be
> interested
> > in
> > > > contributing to it.
> > > >
> > > >
> > > >
> > > > If there's some client restrictions, I think we should plan
> to add our
> > > own.
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > > Carlos
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
> > > >
> > > > Hi Maria,
> > > >
> > > >
> > > >
> > > > I don't think that anyone put effort to emulate mx Charts.
> What's more
> > it
> > > > will be difficult to mix them with Jewel, due to CSS
> conflicts - it's
> > > > probably doable, but I doubt anyone tried.
> > > >
> > > >
> > > >
> > > > In our application I didn't even consider using any Charts
> from Royale
> > -
> > > > I went with usage of Apache ECharts [1] - I have finished
> integrating
> > it
> > > > with our Jewel app - it's not released yet, but in terms of
> integration
> > > it
> > > > wasn't too difficult. Maybe this could be your solution.
> > > >
> > > >
> > > >
> > > > [1] https://echarts.apache.org/
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve
> <mj...@iest.com>>
> > > > napisał(a):
> > > >
> > > > Hello,
> > > >
> > > > I have to make several Charts (bar and pie) and I was
> looking at the
> > > > examples included in the SDK.
> > > >
> > > >
> > > >
> > > > I am doing tests, in my Jewel Application implementing crux,
> with the
> > > > Basic Chart controls but I have problems with the dataproviders.
> Before
> > > > continuing I wanted to ask you a question ... could you use
> the mx
> > > charts?
> > > >
> > > >
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Carlos Rovira
> > > >
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Piotr, I've already moved it, compile everything ok.
I have mixed it into develop.
Hiedra
-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com>
Enviado el: martes, 3 de noviembre de 2020 19:59
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
Of course, as you prefer, I was considering the library as a future component library. I understand that you only need the connectivity and the structure, right?
Do you move the IEChartsBasic.as to Royale-echarts?
Maybe you could adapt your implementation to EChartsControl, ... the truth is that they work very well: you pass Option, map the events you want to capture, apply the color theme, ...
Por ejemplo:
<localecharts:EChartsWithThemeControl localId="charComp" height="100%" width="75%"
autoLoad="{itemChartDef.autoLoad}" configOption="{itemChartDef.optionChartInit}"
optsInstance="{this.opts}" themeName="{itemChartDef.themeName}"
onCompleteConfig="completConfigHandler(event)"
onUpdateConfig="completConfigHandler(event)">
<localecharts:beads>
<beads:EChartEventsBead SUNBURSTHIGHLIGHT="hightLightHandler"
MOUSEOVER="onMouseOverHandler" MOUSEOUT="onMouseOutHandler"/>
</localecharts:beads>
</localecharts:EChartsWithThemeControl>
Hiedra
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: martes, 3 de noviembre de 2020 19:49
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Royale Echarts (was Re: Charts)
Maria,
I wouldn't change implementation. That may matter later when I start using echart lib itself. I'm interested only in what is inside royale-echarts folder.
- Next is how to use library this part is inside royale-echarts-example.
As a user of your implementation I would take swc - this will be result of build royale-echarts folder. I'm saying that some part of example folder should be moved to royale-echarts, so user who take library will have a way of implementing his version of echarts in more abstracted way.
To me it sounds that IEchartDefinition - should be part of royale-charts, cause it describe how chart should be initialized.
User will take your library royale-echarts.swc and using interface provided inside that swc will implement his class - which run chart - for example Pie chart.
wt., 3 lis 2020 o 19:39 Maria Jose Esteve <mj...@iest.com> napisał(a):
> In the / echarts folder the basic component is created to add it in an
> mxml tag (EChartsBasicControl and EChartsWithThemeControl). There is
> also a bead to load themes and another to interact with it through its events.
> I also started implementing a custom "theme loader" but it's half done ...
>
> Would you just change the IEChartsBasic?
>
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: martes, 3
> de noviembre de 2020 19:22
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Maria,
>
> What do you mean whole folder ? I was just saying that his specific
> interfaces should maybe be part of /royale-echarts/ folder. That's all.
>
> I was able to build library itself and example.
>
> Thanks,
> Piotr
>
> wt., 3 lis 2020 o 19:11 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > Hello Piotr,
> > yes, the whole ./echarts folder, included in the example project
> > should be in the library but GIVES ME ERRORS when compiling it. (as
> > soon as I refer to any class or object other than the basic types it
> > gives me errors) Chris commented, after ApacheCon we had to go
> > through it all and make some adjustments, but we haven't started
> > yet. Maybe now is the time and the three of us can do it well (and
> > everyone who wants to contribute, of course)
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: martes, 3
> > de noviembre de 2020 17:41
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Royale Echarts (was Re: Charts)
> >
> > Hi Maria,
> >
> > I have reviewed your ECharts implementation and I see one things
> > which may or may not be an improvement. In example application there
> > is interface IEchartDefinition. I feel like it should be part of
> > EChart lib
> itself.
> >
> > I will try to use your implementation and see if I'm enough
> > comfortable with it to replace mine.
> >
> > Thanks,
> > Piotr
> >
> > sob., 15 sie 2020 o 11:23 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi,
> > >
> > > As Brian said
> > >
> > >
> >
> "org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT"
> > > is something old.
> > > It was released some months and can be found on maven central. So
> > > settings xml is not needed anymore, and all of that was cleaned
> > > from Royale builds too to streamline maven process:
> > >
> > > Check the twit done in Nov 2019:
> > > https://twitter.com/ApacheFlex/status/1196869340290785280
> > >
> > >
> > >
> > > El sáb., 15 ago. 2020 a las 5:10, Maria Jose Esteve
> > > (<mj...@iest.com>)
> > > escribió:
> > >
> > > > The develop branch is working.
> > > > More tomorrow.
> > > >
> > > > Hiedra.
> > > >
> > > > -----Mensaje original-----
> > > > De: Maria Jose Esteve <mj...@iest.com> Enviado el: sábado, 15
> > > > de agosto de 2020 1:00
> > > > Para: dev@royale.apache.org
> > > > Asunto: RE: Royale Echarts (was Re: Charts)
> > > >
> > > > Hahahha I got you wrong, I was talking about the library project
> > > > [1] (I'm working on the develop branch).
> > > >
> > > > I have taken note and change it in the example (I still have not
> > > > managed to compile it ☹ [2])
> > > >
> > > >
> > > >
> > > > [1]
> > > >
> > > https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-ech
> > > ar
> > > ts
> > > /pom.xml
> > > >
> > > > [2]
> > > >
> > > https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjest
> > > ev
> > > e_
> > > test2/royale-echarts-examples
> > > >
> > > > [ERROR] Failed to execute goal
> > > > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install
> > > > (default-install) on project royale-echarts-examples:
> > > > NoFileAssignedException: The packaging plugin for this project
> > > > did not assign a
> > > >
> > > > main file to the project but it has attachments. Change
> > > > packaging to 'pom'. -> [Help 1]
> > > >
> > > >
> > > >
> > > > Thx.
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > -----Mensaje original-----
> > > > De: Brian Raymes <br...@teotech.com> Enviado el: viernes,
> > > > 14 de agosto de 2020 23:12
> > > > Para: dev@royale.apache.org
> > > > Asunto: RE: Royale Echarts (was Re: Charts)
> > > >
> > > >
> > > >
> > > > I don't see it as commented out in either of the pom.xml files
> > > > within the git repo that you shared:
> > > >
> > > >
> > > >
> > > > <configuration>
> > > >
> > > > <mainClass>App.mxml</mainClass>
> > > >
> > > > <targets>SWF,JSRoyale</targets> <-- This is what I
> > > > would change to simply <targets>JSRoyale</targets>
> > > >
> > > > </configuration>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Brian
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > >
> > > > From: Maria Jose Esteve
> > > > <mj...@iest.com>>
> > > >
> > > > Sent: Friday, August 14, 2020 12:30 PM
> > > >
> > > > To: dev@royale.apache.org<ma...@royale.apache.org>
> > > >
> > > > Subject: RE: Royale Echarts (was Re: Charts)
> > > >
> > > >
> > > >
> > > > Hi Brian,
> > > >
> > > > Thanks for the help.
> > > >
> > > > I have deleted the .mvn directory as you indicate and the
> > > > <target> tag
> > > had
> > > > it "Commented / * * /". Do I have to uncomment it and leave only
> > > JSRoyale?
> > > >
> > > >
> > > >
> > > > Thx.
> > > >
> > > > Hiedra
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Of course, as you prefer, I was considering the library as a future component library. I understand that you only need the connectivity and the structure, right?
Do you move the IEChartsBasic.as to Royale-echarts?
Maybe you could adapt your implementation to EChartsControl, ... the truth is that they work very well: you pass Option, map the events you want to capture, apply the color theme, ...
Por ejemplo:
<localecharts:EChartsWithThemeControl localId="charComp" height="100%" width="75%"
autoLoad="{itemChartDef.autoLoad}" configOption="{itemChartDef.optionChartInit}"
optsInstance="{this.opts}" themeName="{itemChartDef.themeName}"
onCompleteConfig="completConfigHandler(event)"
onUpdateConfig="completConfigHandler(event)">
<localecharts:beads>
<beads:EChartEventsBead SUNBURSTHIGHLIGHT="hightLightHandler"
MOUSEOVER="onMouseOverHandler" MOUSEOUT="onMouseOutHandler"/>
</localecharts:beads>
</localecharts:EChartsWithThemeControl>
Hiedra
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: martes, 3 de noviembre de 2020 19:49
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Royale Echarts (was Re: Charts)
Maria,
I wouldn't change implementation. That may matter later when I start using echart lib itself. I'm interested only in what is inside royale-echarts folder.
- Next is how to use library this part is inside royale-echarts-example.
As a user of your implementation I would take swc - this will be result of build royale-echarts folder. I'm saying that some part of example folder should be moved to royale-echarts, so user who take library will have a way of implementing his version of echarts in more abstracted way.
To me it sounds that IEchartDefinition - should be part of royale-charts, cause it describe how chart should be initialized.
User will take your library royale-echarts.swc and using interface provided inside that swc will implement his class - which run chart - for example Pie chart.
wt., 3 lis 2020 o 19:39 Maria Jose Esteve <mj...@iest.com> napisał(a):
> In the / echarts folder the basic component is created to add it in an
> mxml tag (EChartsBasicControl and EChartsWithThemeControl). There is
> also a bead to load themes and another to interact with it through its events.
> I also started implementing a custom "theme loader" but it's half done ...
>
> Would you just change the IEChartsBasic?
>
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: martes, 3
> de noviembre de 2020 19:22
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Maria,
>
> What do you mean whole folder ? I was just saying that his specific
> interfaces should maybe be part of /royale-echarts/ folder. That's all.
>
> I was able to build library itself and example.
>
> Thanks,
> Piotr
>
> wt., 3 lis 2020 o 19:11 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > Hello Piotr,
> > yes, the whole ./echarts folder, included in the example project
> > should be in the library but GIVES ME ERRORS when compiling it. (as
> > soon as I refer to any class or object other than the basic types it
> > gives me errors) Chris commented, after ApacheCon we had to go
> > through it all and make some adjustments, but we haven't started
> > yet. Maybe now is the time and the three of us can do it well (and
> > everyone who wants to contribute, of course)
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: martes, 3
> > de noviembre de 2020 17:41
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Royale Echarts (was Re: Charts)
> >
> > Hi Maria,
> >
> > I have reviewed your ECharts implementation and I see one things
> > which may or may not be an improvement. In example application there
> > is interface IEchartDefinition. I feel like it should be part of
> > EChart lib
> itself.
> >
> > I will try to use your implementation and see if I'm enough
> > comfortable with it to replace mine.
> >
> > Thanks,
> > Piotr
> >
> > sob., 15 sie 2020 o 11:23 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi,
> > >
> > > As Brian said
> > >
> > >
> >
> "org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT"
> > > is something old.
> > > It was released some months and can be found on maven central. So
> > > settings xml is not needed anymore, and all of that was cleaned
> > > from Royale builds too to streamline maven process:
> > >
> > > Check the twit done in Nov 2019:
> > > https://twitter.com/ApacheFlex/status/1196869340290785280
> > >
> > >
> > >
> > > El sáb., 15 ago. 2020 a las 5:10, Maria Jose Esteve
> > > (<mj...@iest.com>)
> > > escribió:
> > >
> > > > The develop branch is working.
> > > > More tomorrow.
> > > >
> > > > Hiedra.
> > > >
> > > > -----Mensaje original-----
> > > > De: Maria Jose Esteve <mj...@iest.com> Enviado el: sábado, 15
> > > > de agosto de 2020 1:00
> > > > Para: dev@royale.apache.org
> > > > Asunto: RE: Royale Echarts (was Re: Charts)
> > > >
> > > > Hahahha I got you wrong, I was talking about the library project
> > > > [1] (I'm working on the develop branch).
> > > >
> > > > I have taken note and change it in the example (I still have not
> > > > managed to compile it ☹ [2])
> > > >
> > > >
> > > >
> > > > [1]
> > > >
> > > https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-ech
> > > ar
> > > ts
> > > /pom.xml
> > > >
> > > > [2]
> > > >
> > > https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjest
> > > ev
> > > e_
> > > test2/royale-echarts-examples
> > > >
> > > > [ERROR] Failed to execute goal
> > > > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install
> > > > (default-install) on project royale-echarts-examples:
> > > > NoFileAssignedException: The packaging plugin for this project
> > > > did not assign a
> > > >
> > > > main file to the project but it has attachments. Change
> > > > packaging to 'pom'. -> [Help 1]
> > > >
> > > >
> > > >
> > > > Thx.
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > -----Mensaje original-----
> > > > De: Brian Raymes <br...@teotech.com> Enviado el: viernes,
> > > > 14 de agosto de 2020 23:12
> > > > Para: dev@royale.apache.org
> > > > Asunto: RE: Royale Echarts (was Re: Charts)
> > > >
> > > >
> > > >
> > > > I don't see it as commented out in either of the pom.xml files
> > > > within the git repo that you shared:
> > > >
> > > >
> > > >
> > > > <configuration>
> > > >
> > > > <mainClass>App.mxml</mainClass>
> > > >
> > > > <targets>SWF,JSRoyale</targets> <-- This is what I
> > > > would change to simply <targets>JSRoyale</targets>
> > > >
> > > > </configuration>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Brian
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > >
> > > > From: Maria Jose Esteve
> > > > <mj...@iest.com>>
> > > >
> > > > Sent: Friday, August 14, 2020 12:30 PM
> > > >
> > > > To: dev@royale.apache.org<ma...@royale.apache.org>
> > > >
> > > > Subject: RE: Royale Echarts (was Re: Charts)
> > > >
> > > >
> > > >
> > > > Hi Brian,
> > > >
> > > > Thanks for the help.
> > > >
> > > > I have deleted the .mvn directory as you indicate and the
> > > > <target> tag
> > > had
> > > > it "Commented / * * /". Do I have to uncomment it and leave only
> > > JSRoyale?
> > > >
> > > >
> > > >
> > > > Thx.
> > > >
> > > > Hiedra
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Royale Echarts (was Re: Charts)
Posted by Piotr Zarzycki <pi...@gmail.com>.
Maria,
I wouldn't change implementation. That may matter later when I start using
echart lib itself. I'm interested only in what is inside royale-echarts folder.
- Next is how to use library this part is inside royale-echarts-example.
As a user of your implementation I would take swc - this will be result of
build royale-echarts folder. I'm saying that some part of example folder
should be moved to royale-echarts, so user who take library will have a way
of implementing his version of echarts in more abstracted way.
To me it sounds that IEchartDefinition - should be part of royale-charts,
cause it describe how chart should be initialized.
User will take your library royale-echarts.swc and using interface provided
inside that swc will implement his class - which run chart - for example
Pie chart.
wt., 3 lis 2020 o 19:39 Maria Jose Esteve <mj...@iest.com> napisał(a):
> In the / echarts folder the basic component is created to add it in an
> mxml tag (EChartsBasicControl and EChartsWithThemeControl). There is also a
> bead to load themes and another to interact with it through its events.
> I also started implementing a custom "theme loader" but it's half done ...
>
> Would you just change the IEChartsBasic?
>
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com>
> Enviado el: martes, 3 de noviembre de 2020 19:22
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Maria,
>
> What do you mean whole folder ? I was just saying that his specific
> interfaces should maybe be part of /royale-echarts/ folder. That's all.
>
> I was able to build library itself and example.
>
> Thanks,
> Piotr
>
> wt., 3 lis 2020 o 19:11 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > Hello Piotr,
> > yes, the whole ./echarts folder, included in the example project
> > should be in the library but GIVES ME ERRORS when compiling it. (as
> > soon as I refer to any class or object other than the basic types it
> > gives me errors) Chris commented, after ApacheCon we had to go through
> > it all and make some adjustments, but we haven't started yet. Maybe
> > now is the time and the three of us can do it well (and everyone who
> > wants to contribute, of course)
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: martes, 3
> > de noviembre de 2020 17:41
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Royale Echarts (was Re: Charts)
> >
> > Hi Maria,
> >
> > I have reviewed your ECharts implementation and I see one things which
> > may or may not be an improvement. In example application there is
> > interface IEchartDefinition. I feel like it should be part of EChart lib
> itself.
> >
> > I will try to use your implementation and see if I'm enough
> > comfortable with it to replace mine.
> >
> > Thanks,
> > Piotr
> >
> > sob., 15 sie 2020 o 11:23 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi,
> > >
> > > As Brian said
> > >
> > >
> >
> "org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT"
> > > is something old.
> > > It was released some months and can be found on maven central. So
> > > settings xml is not needed anymore, and all of that was cleaned from
> > > Royale builds too to streamline maven process:
> > >
> > > Check the twit done in Nov 2019:
> > > https://twitter.com/ApacheFlex/status/1196869340290785280
> > >
> > >
> > >
> > > El sáb., 15 ago. 2020 a las 5:10, Maria Jose Esteve
> > > (<mj...@iest.com>)
> > > escribió:
> > >
> > > > The develop branch is working.
> > > > More tomorrow.
> > > >
> > > > Hiedra.
> > > >
> > > > -----Mensaje original-----
> > > > De: Maria Jose Esteve <mj...@iest.com> Enviado el: sábado, 15
> > > > de agosto de 2020 1:00
> > > > Para: dev@royale.apache.org
> > > > Asunto: RE: Royale Echarts (was Re: Charts)
> > > >
> > > > Hahahha I got you wrong, I was talking about the library project
> > > > [1] (I'm working on the develop branch).
> > > >
> > > > I have taken note and change it in the example (I still have not
> > > > managed to compile it ☹ [2])
> > > >
> > > >
> > > >
> > > > [1]
> > > >
> > > https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-echar
> > > ts
> > > /pom.xml
> > > >
> > > > [2]
> > > >
> > > https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjestev
> > > e_
> > > test2/royale-echarts-examples
> > > >
> > > > [ERROR] Failed to execute goal
> > > > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install
> > > > (default-install) on project royale-echarts-examples:
> > > > NoFileAssignedException: The packaging plugin for this project did
> > > > not assign a
> > > >
> > > > main file to the project but it has attachments. Change packaging
> > > > to 'pom'. -> [Help 1]
> > > >
> > > >
> > > >
> > > > Thx.
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > -----Mensaje original-----
> > > > De: Brian Raymes <br...@teotech.com> Enviado el: viernes,
> > > > 14 de agosto de 2020 23:12
> > > > Para: dev@royale.apache.org
> > > > Asunto: RE: Royale Echarts (was Re: Charts)
> > > >
> > > >
> > > >
> > > > I don't see it as commented out in either of the pom.xml files
> > > > within the git repo that you shared:
> > > >
> > > >
> > > >
> > > > <configuration>
> > > >
> > > > <mainClass>App.mxml</mainClass>
> > > >
> > > > <targets>SWF,JSRoyale</targets> <-- This is what I
> > > > would change to simply <targets>JSRoyale</targets>
> > > >
> > > > </configuration>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Brian
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > >
> > > > From: Maria Jose Esteve
> > > > <mj...@iest.com>>
> > > >
> > > > Sent: Friday, August 14, 2020 12:30 PM
> > > >
> > > > To: dev@royale.apache.org<ma...@royale.apache.org>
> > > >
> > > > Subject: RE: Royale Echarts (was Re: Charts)
> > > >
> > > >
> > > >
> > > > Hi Brian,
> > > >
> > > > Thanks for the help.
> > > >
> > > > I have deleted the .mvn directory as you indicate and the <target>
> > > > tag
> > > had
> > > > it "Commented / * * /". Do I have to uncomment it and leave only
> > > JSRoyale?
> > > >
> > > >
> > > >
> > > > Thx.
> > > >
> > > > Hiedra
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
In the / echarts folder the basic component is created to add it in an mxml tag (EChartsBasicControl and EChartsWithThemeControl). There is also a bead to load themes and another to interact with it through its events.
I also started implementing a custom "theme loader" but it's half done ...
Would you just change the IEChartsBasic?
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: martes, 3 de noviembre de 2020 19:22
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Royale Echarts (was Re: Charts)
Maria,
What do you mean whole folder ? I was just saying that his specific interfaces should maybe be part of /royale-echarts/ folder. That's all.
I was able to build library itself and example.
Thanks,
Piotr
wt., 3 lis 2020 o 19:11 Maria Jose Esteve <mj...@iest.com> napisał(a):
> Hello Piotr,
> yes, the whole ./echarts folder, included in the example project
> should be in the library but GIVES ME ERRORS when compiling it. (as
> soon as I refer to any class or object other than the basic types it
> gives me errors) Chris commented, after ApacheCon we had to go through
> it all and make some adjustments, but we haven't started yet. Maybe
> now is the time and the three of us can do it well (and everyone who
> wants to contribute, of course)
>
> Hiedra
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: martes, 3
> de noviembre de 2020 17:41
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi Maria,
>
> I have reviewed your ECharts implementation and I see one things which
> may or may not be an improvement. In example application there is
> interface IEchartDefinition. I feel like it should be part of EChart lib itself.
>
> I will try to use your implementation and see if I'm enough
> comfortable with it to replace mine.
>
> Thanks,
> Piotr
>
> sob., 15 sie 2020 o 11:23 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > As Brian said
> >
> >
> "org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT"
> > is something old.
> > It was released some months and can be found on maven central. So
> > settings xml is not needed anymore, and all of that was cleaned from
> > Royale builds too to streamline maven process:
> >
> > Check the twit done in Nov 2019:
> > https://twitter.com/ApacheFlex/status/1196869340290785280
> >
> >
> >
> > El sáb., 15 ago. 2020 a las 5:10, Maria Jose Esteve
> > (<mj...@iest.com>)
> > escribió:
> >
> > > The develop branch is working.
> > > More tomorrow.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Maria Jose Esteve <mj...@iest.com> Enviado el: sábado, 15
> > > de agosto de 2020 1:00
> > > Para: dev@royale.apache.org
> > > Asunto: RE: Royale Echarts (was Re: Charts)
> > >
> > > Hahahha I got you wrong, I was talking about the library project
> > > [1] (I'm working on the develop branch).
> > >
> > > I have taken note and change it in the example (I still have not
> > > managed to compile it ☹ [2])
> > >
> > >
> > >
> > > [1]
> > >
> > https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-echar
> > ts
> > /pom.xml
> > >
> > > [2]
> > >
> > https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjestev
> > e_
> > test2/royale-echarts-examples
> > >
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install
> > > (default-install) on project royale-echarts-examples:
> > > NoFileAssignedException: The packaging plugin for this project did
> > > not assign a
> > >
> > > main file to the project but it has attachments. Change packaging
> > > to 'pom'. -> [Help 1]
> > >
> > >
> > >
> > > Thx.
> > >
> > > Hiedra.
> > >
> > >
> > >
> > > -----Mensaje original-----
> > > De: Brian Raymes <br...@teotech.com> Enviado el: viernes,
> > > 14 de agosto de 2020 23:12
> > > Para: dev@royale.apache.org
> > > Asunto: RE: Royale Echarts (was Re: Charts)
> > >
> > >
> > >
> > > I don't see it as commented out in either of the pom.xml files
> > > within the git repo that you shared:
> > >
> > >
> > >
> > > <configuration>
> > >
> > > <mainClass>App.mxml</mainClass>
> > >
> > > <targets>SWF,JSRoyale</targets> <-- This is what I
> > > would change to simply <targets>JSRoyale</targets>
> > >
> > > </configuration>
> > >
> > >
> > >
> > >
> > >
> > > Brian
> > >
> > >
> > >
> > > -----Original Message-----
> > >
> > > From: Maria Jose Esteve
> > > <mj...@iest.com>>
> > >
> > > Sent: Friday, August 14, 2020 12:30 PM
> > >
> > > To: dev@royale.apache.org<ma...@royale.apache.org>
> > >
> > > Subject: RE: Royale Echarts (was Re: Charts)
> > >
> > >
> > >
> > > Hi Brian,
> > >
> > > Thanks for the help.
> > >
> > > I have deleted the .mvn directory as you indicate and the <target>
> > > tag
> > had
> > > it "Commented / * * /". Do I have to uncomment it and leave only
> > JSRoyale?
> > >
> > >
> > >
> > > Thx.
> > >
> > > Hiedra
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Royale Echarts (was Re: Charts)
Posted by Piotr Zarzycki <pi...@gmail.com>.
Maria,
What do you mean whole folder ? I was just saying that his specific
interfaces should maybe be part of /royale-echarts/ folder. That's all.
I was able to build library itself and example.
Thanks,
Piotr
wt., 3 lis 2020 o 19:11 Maria Jose Esteve <mj...@iest.com> napisał(a):
> Hello Piotr,
> yes, the whole ./echarts folder, included in the example project should be
> in the library but GIVES ME ERRORS when compiling it. (as soon as I refer
> to any class or object other than the basic types it gives me errors)
> Chris commented, after ApacheCon we had to go through it all and make some
> adjustments, but we haven't started yet. Maybe now is the time and the
> three of us can do it well (and everyone who wants to contribute, of course)
>
> Hiedra
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com>
> Enviado el: martes, 3 de noviembre de 2020 17:41
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi Maria,
>
> I have reviewed your ECharts implementation and I see one things which may
> or may not be an improvement. In example application there is interface
> IEchartDefinition. I feel like it should be part of EChart lib itself.
>
> I will try to use your implementation and see if I'm enough comfortable
> with it to replace mine.
>
> Thanks,
> Piotr
>
> sob., 15 sie 2020 o 11:23 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > As Brian said
> >
> >
> "org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT"
> > is something old.
> > It was released some months and can be found on maven central. So
> > settings xml is not needed anymore, and all of that was cleaned from
> > Royale builds too to streamline maven process:
> >
> > Check the twit done in Nov 2019:
> > https://twitter.com/ApacheFlex/status/1196869340290785280
> >
> >
> >
> > El sáb., 15 ago. 2020 a las 5:10, Maria Jose Esteve
> > (<mj...@iest.com>)
> > escribió:
> >
> > > The develop branch is working.
> > > More tomorrow.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Maria Jose Esteve <mj...@iest.com> Enviado el: sábado, 15 de
> > > agosto de 2020 1:00
> > > Para: dev@royale.apache.org
> > > Asunto: RE: Royale Echarts (was Re: Charts)
> > >
> > > Hahahha I got you wrong, I was talking about the library project [1]
> > > (I'm working on the develop branch).
> > >
> > > I have taken note and change it in the example (I still have not
> > > managed to compile it ☹ [2])
> > >
> > >
> > >
> > > [1]
> > >
> > https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-echarts
> > /pom.xml
> > >
> > > [2]
> > >
> > https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjesteve_
> > test2/royale-echarts-examples
> > >
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install
> > > (default-install) on project royale-echarts-examples:
> > > NoFileAssignedException: The packaging plugin for this project did
> > > not assign a
> > >
> > > main file to the project but it has attachments. Change packaging to
> > > 'pom'. -> [Help 1]
> > >
> > >
> > >
> > > Thx.
> > >
> > > Hiedra.
> > >
> > >
> > >
> > > -----Mensaje original-----
> > > De: Brian Raymes <br...@teotech.com> Enviado el: viernes, 14
> > > de agosto de 2020 23:12
> > > Para: dev@royale.apache.org
> > > Asunto: RE: Royale Echarts (was Re: Charts)
> > >
> > >
> > >
> > > I don't see it as commented out in either of the pom.xml files
> > > within the git repo that you shared:
> > >
> > >
> > >
> > > <configuration>
> > >
> > > <mainClass>App.mxml</mainClass>
> > >
> > > <targets>SWF,JSRoyale</targets> <-- This is what I
> > > would change to simply <targets>JSRoyale</targets>
> > >
> > > </configuration>
> > >
> > >
> > >
> > >
> > >
> > > Brian
> > >
> > >
> > >
> > > -----Original Message-----
> > >
> > > From: Maria Jose Esteve
> > > <mj...@iest.com>>
> > >
> > > Sent: Friday, August 14, 2020 12:30 PM
> > >
> > > To: dev@royale.apache.org<ma...@royale.apache.org>
> > >
> > > Subject: RE: Royale Echarts (was Re: Charts)
> > >
> > >
> > >
> > > Hi Brian,
> > >
> > > Thanks for the help.
> > >
> > > I have deleted the .mvn directory as you indicate and the <target>
> > > tag
> > had
> > > it "Commented / * * /". Do I have to uncomment it and leave only
> > JSRoyale?
> > >
> > >
> > >
> > > Thx.
> > >
> > > Hiedra
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Hello Piotr,
yes, the whole ./echarts folder, included in the example project should be in the library but GIVES ME ERRORS when compiling it. (as soon as I refer to any class or object other than the basic types it gives me errors)
Chris commented, after ApacheCon we had to go through it all and make some adjustments, but we haven't started yet. Maybe now is the time and the three of us can do it well (and everyone who wants to contribute, of course)
Hiedra
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: martes, 3 de noviembre de 2020 17:41
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Royale Echarts (was Re: Charts)
Hi Maria,
I have reviewed your ECharts implementation and I see one things which may or may not be an improvement. In example application there is interface IEchartDefinition. I feel like it should be part of EChart lib itself.
I will try to use your implementation and see if I'm enough comfortable with it to replace mine.
Thanks,
Piotr
sob., 15 sie 2020 o 11:23 Carlos Rovira <ca...@apache.org>
napisał(a):
> Hi,
>
> As Brian said
>
> "org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT"
> is something old.
> It was released some months and can be found on maven central. So
> settings xml is not needed anymore, and all of that was cleaned from
> Royale builds too to streamline maven process:
>
> Check the twit done in Nov 2019:
> https://twitter.com/ApacheFlex/status/1196869340290785280
>
>
>
> El sáb., 15 ago. 2020 a las 5:10, Maria Jose Esteve
> (<mj...@iest.com>)
> escribió:
>
> > The develop branch is working.
> > More tomorrow.
> >
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Maria Jose Esteve <mj...@iest.com> Enviado el: sábado, 15 de
> > agosto de 2020 1:00
> > Para: dev@royale.apache.org
> > Asunto: RE: Royale Echarts (was Re: Charts)
> >
> > Hahahha I got you wrong, I was talking about the library project [1]
> > (I'm working on the develop branch).
> >
> > I have taken note and change it in the example (I still have not
> > managed to compile it ☹ [2])
> >
> >
> >
> > [1]
> >
> https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-echarts
> /pom.xml
> >
> > [2]
> >
> https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjesteve_
> test2/royale-echarts-examples
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install
> > (default-install) on project royale-echarts-examples:
> > NoFileAssignedException: The packaging plugin for this project did
> > not assign a
> >
> > main file to the project but it has attachments. Change packaging to
> > 'pom'. -> [Help 1]
> >
> >
> >
> > Thx.
> >
> > Hiedra.
> >
> >
> >
> > -----Mensaje original-----
> > De: Brian Raymes <br...@teotech.com> Enviado el: viernes, 14
> > de agosto de 2020 23:12
> > Para: dev@royale.apache.org
> > Asunto: RE: Royale Echarts (was Re: Charts)
> >
> >
> >
> > I don't see it as commented out in either of the pom.xml files
> > within the git repo that you shared:
> >
> >
> >
> > <configuration>
> >
> > <mainClass>App.mxml</mainClass>
> >
> > <targets>SWF,JSRoyale</targets> <-- This is what I
> > would change to simply <targets>JSRoyale</targets>
> >
> > </configuration>
> >
> >
> >
> >
> >
> > Brian
> >
> >
> >
> > -----Original Message-----
> >
> > From: Maria Jose Esteve
> > <mj...@iest.com>>
> >
> > Sent: Friday, August 14, 2020 12:30 PM
> >
> > To: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > Subject: RE: Royale Echarts (was Re: Charts)
> >
> >
> >
> > Hi Brian,
> >
> > Thanks for the help.
> >
> > I have deleted the .mvn directory as you indicate and the <target>
> > tag
> had
> > it "Commented / * * /". Do I have to uncomment it and leave only
> JSRoyale?
> >
> >
> >
> > Thx.
> >
> > Hiedra
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Re: Royale Echarts (was Re: Charts)
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Maria,
I have reviewed your ECharts implementation and I see one things which may
or may not be an improvement. In example application there is
interface IEchartDefinition. I feel like it should be part of EChart lib
itself.
I will try to use your implementation and see if I'm enough comfortable
with it to replace mine.
Thanks,
Piotr
sob., 15 sie 2020 o 11:23 Carlos Rovira <ca...@apache.org>
napisał(a):
> Hi,
>
> As Brian said
>
> "org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT"
> is something old.
> It was released some months and can be found on maven central. So settings
> xml is not needed anymore, and all
> of that was cleaned from Royale builds too to streamline maven process:
>
> Check the twit done in Nov 2019:
> https://twitter.com/ApacheFlex/status/1196869340290785280
>
>
>
> El sáb., 15 ago. 2020 a las 5:10, Maria Jose Esteve (<mj...@iest.com>)
> escribió:
>
> > The develop branch is working.
> > More tomorrow.
> >
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Maria Jose Esteve <mj...@iest.com>
> > Enviado el: sábado, 15 de agosto de 2020 1:00
> > Para: dev@royale.apache.org
> > Asunto: RE: Royale Echarts (was Re: Charts)
> >
> > Hahahha I got you wrong, I was talking about the library project [1] (I'm
> > working on the develop branch).
> >
> > I have taken note and change it in the example (I still have not managed
> > to compile it ☹ [2])
> >
> >
> >
> > [1]
> >
> https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-echarts/pom.xml
> >
> > [2]
> >
> https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjesteve_test2/royale-echarts-examples
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install
> > (default-install) on project royale-echarts-examples:
> > NoFileAssignedException: The packaging plugin for this project did not
> > assign a
> >
> > main file to the project but it has attachments. Change packaging to
> > 'pom'. -> [Help 1]
> >
> >
> >
> > Thx.
> >
> > Hiedra.
> >
> >
> >
> > -----Mensaje original-----
> > De: Brian Raymes <br...@teotech.com> Enviado el: viernes, 14 de
> > agosto de 2020 23:12
> > Para: dev@royale.apache.org
> > Asunto: RE: Royale Echarts (was Re: Charts)
> >
> >
> >
> > I don't see it as commented out in either of the pom.xml files within the
> > git repo that you shared:
> >
> >
> >
> > <configuration>
> >
> > <mainClass>App.mxml</mainClass>
> >
> > <targets>SWF,JSRoyale</targets> <-- This is what I
> > would change to simply <targets>JSRoyale</targets>
> >
> > </configuration>
> >
> >
> >
> >
> >
> > Brian
> >
> >
> >
> > -----Original Message-----
> >
> > From: Maria Jose Esteve <mj...@iest.com>>
> >
> > Sent: Friday, August 14, 2020 12:30 PM
> >
> > To: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > Subject: RE: Royale Echarts (was Re: Charts)
> >
> >
> >
> > Hi Brian,
> >
> > Thanks for the help.
> >
> > I have deleted the .mvn directory as you indicate and the <target> tag
> had
> > it "Commented / * * /". Do I have to uncomment it and leave only
> JSRoyale?
> >
> >
> >
> > Thx.
> >
> > Hiedra
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Re: Royale Echarts (was Re: Charts)
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
As Brian said
"org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT"
is something old.
It was released some months and can be found on maven central. So settings
xml is not needed anymore, and all
of that was cleaned from Royale builds too to streamline maven process:
Check the twit done in Nov 2019:
https://twitter.com/ApacheFlex/status/1196869340290785280
El sáb., 15 ago. 2020 a las 5:10, Maria Jose Esteve (<mj...@iest.com>)
escribió:
> The develop branch is working.
> More tomorrow.
>
> Hiedra.
>
> -----Mensaje original-----
> De: Maria Jose Esteve <mj...@iest.com>
> Enviado el: sábado, 15 de agosto de 2020 1:00
> Para: dev@royale.apache.org
> Asunto: RE: Royale Echarts (was Re: Charts)
>
> Hahahha I got you wrong, I was talking about the library project [1] (I'm
> working on the develop branch).
>
> I have taken note and change it in the example (I still have not managed
> to compile it ☹ [2])
>
>
>
> [1]
> https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-echarts/pom.xml
>
> [2]
> https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjesteve_test2/royale-echarts-examples
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install
> (default-install) on project royale-echarts-examples:
> NoFileAssignedException: The packaging plugin for this project did not
> assign a
>
> main file to the project but it has attachments. Change packaging to
> 'pom'. -> [Help 1]
>
>
>
> Thx.
>
> Hiedra.
>
>
>
> -----Mensaje original-----
> De: Brian Raymes <br...@teotech.com> Enviado el: viernes, 14 de
> agosto de 2020 23:12
> Para: dev@royale.apache.org
> Asunto: RE: Royale Echarts (was Re: Charts)
>
>
>
> I don't see it as commented out in either of the pom.xml files within the
> git repo that you shared:
>
>
>
> <configuration>
>
> <mainClass>App.mxml</mainClass>
>
> <targets>SWF,JSRoyale</targets> <-- This is what I
> would change to simply <targets>JSRoyale</targets>
>
> </configuration>
>
>
>
>
>
> Brian
>
>
>
> -----Original Message-----
>
> From: Maria Jose Esteve <mj...@iest.com>>
>
> Sent: Friday, August 14, 2020 12:30 PM
>
> To: dev@royale.apache.org<ma...@royale.apache.org>
>
> Subject: RE: Royale Echarts (was Re: Charts)
>
>
>
> Hi Brian,
>
> Thanks for the help.
>
> I have deleted the .mvn directory as you indicate and the <target> tag had
> it "Commented / * * /". Do I have to uncomment it and leave only JSRoyale?
>
>
>
> Thx.
>
> Hiedra
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
The develop branch is working.
More tomorrow.
Hiedra.
-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com>
Enviado el: sábado, 15 de agosto de 2020 1:00
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
Hahahha I got you wrong, I was talking about the library project [1] (I'm working on the develop branch).
I have taken note and change it in the example (I still have not managed to compile it ☹ [2])
[1] https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-echarts/pom.xml
[2] https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjesteve_test2/royale-echarts-examples
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) on project royale-echarts-examples: NoFileAssignedException: The packaging plugin for this project did not assign a
main file to the project but it has attachments. Change packaging to 'pom'. -> [Help 1]
Thx.
Hiedra.
-----Mensaje original-----
De: Brian Raymes <br...@teotech.com> Enviado el: viernes, 14 de agosto de 2020 23:12
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
I don't see it as commented out in either of the pom.xml files within the git repo that you shared:
<configuration>
<mainClass>App.mxml</mainClass>
<targets>SWF,JSRoyale</targets> <-- This is what I would change to simply <targets>JSRoyale</targets>
</configuration>
Brian
-----Original Message-----
From: Maria Jose Esteve <mj...@iest.com>>
Sent: Friday, August 14, 2020 12:30 PM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Echarts (was Re: Charts)
Hi Brian,
Thanks for the help.
I have deleted the .mvn directory as you indicate and the <target> tag had it "Commented / * * /". Do I have to uncomment it and leave only JSRoyale?
Thx.
Hiedra
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Hahahha I got you wrong, I was talking about the library project [1] (I'm working on the develop branch).
I have taken note and change it in the example (I still have not managed to compile it ☹ [2])
[1] https://github.com/mjesteve/Royale-ECharts/blob/develop/royale-echarts/pom.xml
[2] https://github.com/mjesteve/Royale-ECharts/tree/architecture/mjesteve_test2/royale-echarts-examples
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) on project royale-echarts-examples: NoFileAssignedException: The packaging plugin for this project did not assign a
main file to the project but it has attachments. Change packaging to 'pom'. -> [Help 1]
Thx.
Hiedra.
-----Mensaje original-----
De: Brian Raymes <br...@teotech.com>
Enviado el: viernes, 14 de agosto de 2020 23:12
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
I don't see it as commented out in either of the pom.xml files within the git repo that you shared:
<configuration>
<mainClass>App.mxml</mainClass>
<targets>SWF,JSRoyale</targets> <-- This is what I would change to simply <targets>JSRoyale</targets>
</configuration>
Brian
-----Original Message-----
From: Maria Jose Esteve <mj...@iest.com>>
Sent: Friday, August 14, 2020 12:30 PM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Echarts (was Re: Charts)
Hi Brian,
Thanks for the help.
I have deleted the .mvn directory as you indicate and the <target> tag had it "Commented / * * /". Do I have to uncomment it and leave only JSRoyale?
Thx.
Hiedra
RE: Royale Echarts (was Re: Charts)
Posted by Brian Raymes <br...@teotech.com>.
I don't see it as commented out in either of the pom.xml files within the git repo that you shared:
<configuration>
<mainClass>App.mxml</mainClass>
<targets>SWF,JSRoyale</targets> <-- This is what I would change to simply <targets>JSRoyale</targets>
</configuration>
Brian
-----Original Message-----
From: Maria Jose Esteve <mj...@iest.com>
Sent: Friday, August 14, 2020 12:30 PM
To: dev@royale.apache.org
Subject: RE: Royale Echarts (was Re: Charts)
Hi Brian,
Thanks for the help.
I have deleted the .mvn directory as you indicate and the <target> tag had it "Commented / * * /". Do I have to uncomment it and leave only JSRoyale?
Thx.
Hiedra
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi Brian,
Thanks for the help.
I have deleted the .mvn directory as you indicate and the <target> tag had it "Commented / * * /". Do I have to uncomment it and leave only JSRoyale?
Thx.
Hiedra
-----Mensaje original-----
De: Brian Raymes <br...@teotech.com>
Enviado el: viernes, 14 de agosto de 2020 18:52
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
The flex-sdk-converter-maven-extension is not used for building Royale projects. Instead, it is used for converting Flex/AIR SDKs to Maven artifacts.
Remove extensions.xml (and the .mvn folder) as it is declaring this unneeded artifact.
I also see that you are targeting both SWF and JSRoyale. With echarts, isn't JSRoyale be the only usable option? May be a good idea to change <targets>SWF,JSRoyale</targets> to simply <targets>JSRoyale</targets> to only focus on JS output.
Hope this helps,
Brian
-----Original Message-----
From: Maria Jose Esteve <mj...@iest.com>
Sent: Friday, August 14, 2020 5:35 AM
To: dev@royale.apache.org
Subject: RE: Royale Echarts (was Re: Charts)
Sorry, The image of the error is not seen ... I paste text
PS D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts> mvn clean install -DskipTests [WARNING] The POM for org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT is missing, no dependency information available [WARNING] Failed to read extensions descriptor D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\.mvn\extensions.xml: Plugin org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.proj.example:royale-echarts >------------------- [INFO] Building royale-echarts 1.0-SNAPSHOT [INFO] --------------------------------[ swf ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ royale-echarts --- [INFO] Deleting D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\target
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ royale-echarts --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Using 'null' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\src\main\resources
[INFO]
[INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) @ royale-echarts --- [WARNING] The POM for com.adobe.flash.framework:playerglobal:swc:20.0 is missing, no dependency information available [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.053 s
[INFO] Finished at: 2020-08-14T14:33:59+02:00 [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.royale.compiler:royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) on project royale-echarts: Could not resolve dependencies for project com.proj.example:royale-echarts:swf:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.royale.framework:Core:swc:0.9.8-SNAPSHOT, com.adobe.flash.framework:playerglobal:swc:20.0,
org.apache.royale.framework:HTML:swc:0.9.8-SNAPSHOT: Could not find artifact org.apache.royale.framework:Core:swc:0.9.8-SNAPSHOT -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
PS D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts>
De: Maria Jose Esteve <mj...@iest.com> Enviado el: viernes, 14 de agosto de 2020 14:26
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
Hello,
I already have a few examples assembled and a shuttle for them 😝
As I have no experience with Maven or with compiling swc, etc, etc, I mounted them in a project, from my work, that "I had up and running" to do the initial tests, and everything OK.
To create the final project I have followed the steps indicated here [1] but I can't compile it ☹
The [2] instruction doesn't work for me because I don't have the settings-template.xml file.
I have launched the compilation, from the vscode Terminal, with the following instruction [3] it starts to compile but it gives me an error because it cannot find the artifacts ...
[cid:image001.png@01D67245.02877530]
I have included a .vscode/settings.json file with the 0.9.8 SDK settings but it doesn't work. Can you help me?
The repository [4] is made up of two projects, one for echarts and one for the examples.
I have not tried to compile the project with the examples, I have only copied the sample files that I had but I imagine that if I mounted it it would give me the same problem.
I have created a develop branch.
[1] https://github.com/apache/royale-asjs/wiki/Create-Royale-project-with-Maven
[2] mvn -s /Users/<YourUser>/<Path-To-You-Royale-Repo>/settings-template.xml clean install
[3] mvn clean install -DskipTests
[4] https://github.com/mjesteve/Royale-ECharts.git
Any help is welcome.
Thank you very much.
Hiedra
-----Mensaje original-----
De: Carlos Rovira <ca...@apache.org>>
Enviado el: miércoles, 29 de julio de 2020 18:23
Para: Apache Royale Development <de...@royale.apache.org>>
Asunto: Re: Royale Echarts (was Re: Charts)
Hi Maria Jose,
if the externs path is right for now, maybe you could create a temporal project in Github so we can take a look and try to use it.
Then it will be easier to see if we finally need royale component or just externs are sufficient.
For me right now is difficult to choose one path or other since I'm seeing that seems very easy to integrate, but maybe we could need some Royale data integration, or manage sizes or any other thing that could appear as we use it.
El mié., 29 jul. 2020 a las 17:55, Maria Jose Esteve (<mj...@iest.com>>)
escribió:
> Chris,
> Do I have to mount the project in any specific way?
> My idea is, create a JSRoyale project with crux, maybe. (mvc)
>
> Do you have or do we have a repo for this?
>
> Thx.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz
> <ch...@c-ware.de>> Enviado
> el: martes, 28
> de julio de 2020 17:28
> Para: dev@royale.apache.org<ma...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi folks,
>
> I agree that perhaps creating real wrappers for some of the most used
> charts and creating some documentation on how to add new ones could be
> a great thing for people wanting to get engaged in the project. Should
> be fairly simple to do this via PRs.
>
> I remember Harbs saying he had already been working on this?
>
> For my ApacheCon talk proposal "Home automation with apache" this
> would be a super awesome addition ;-)
>
> Chris
>
>
>
> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>>:
>
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all
> to that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not
> something that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this
> case I
> think we should concentrate on most used graphs (Bar, Pie,
> Columns,
> Area,..), maybe start with just a few most used cases, and make it
> very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to
> be easily
> created by extending initial code, and just the same effort that
> creates
> the typedef stubs. Anyway, other more rare graphs can be left for now.
> We
> don't need to try to cover fully ECharts since even for typedefs
> could be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
>
> > Hi Carlos,
> >
> > Well at some point would love to see wrappers around it, but the
> more I'm
> > thinking about it the more it is something which may not be
> worth due to
> > magnitude of work.
> >
> > There are literally hundreds of types of charts and if you
> wanted to wrap
> > up based on types or something like that you will end up in a
> rabbit hole.
> >
> > I feel like it would be better to have typedefs and let users to
> use
> > ECharts documentation to create whatever they want, wrap
> whatever they
> > need.
> >
> > Thanks,
> > Piotr
> >
> > wt., 28 lip 2020 o 11:53 Carlos Rovira
> <ca...@apache.org>>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I think charts are a very important part of UX and UI Solutions.
> It was
> > for
> > > Flex and Royale needs something actual.
> > > Emulation always can continue efforts on mx chart versions.
> But new
> > Royale
> > > Apps (mostly Jewel, Basic and others) will required some
> modern solution.
> > >
> > > Seems all folks here point to ECharts, so I'm planning to
> create a
> > library
> > > for Apache ECharts in the same way I did in the past for MDL,
> so instead
> > of
> > > just creating an @extern, it will be a Royale Component with
> its own API.
> > >
> > > Another way would be to just create @externs for ECharts, but
> since it
> > is a
> > > "component", it seems using like a UIBase inside Royale will
> benefit
> > from a
> > > better integration.
> > >
> > > In resume, seems to me what I did for MDL seems the best to
> apply here,
> > > instead something like html2pdf, that seems to me a clear
> input that
> > wants
> > > a clear output and is not something we require to integrate
> and mix well
> > > with other Royale controls and containers
> > >
> > > So what do you think about this?
> > >
> > >
> > >
> > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> mjesteve@iest.com<ma...@iest.com>
> > >)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > Thanks Harbs.
> > > >
> > > > Yesterday I was looking at Carlos's integration with
> html2PDF,
> > > > https://github.com/tomLadder/react-native-echarts-wrapper
> and some
> > > > examples from the SDK.
> > > >
> > > >
> > > >
> > > > I have implemented an echart class, another echartInstance,
> but I don't
> > > > know if it will work as I need… In principle it seems that I
> can only
> > > > create one instance of echart per document (at least that's
> what they
> > > > advise, of course) and handle each “independent graph ”With
> the
> > property“
> > > > group ”,…
> > > >
> > > >
> > > >
> > > > Well, I keep doing tests ... I don't know if I will succeed
> because I'm
> > > > going "blind".
> > > >
> > > > I will continue to inform you.
> > > >
> > > >
> > > >
> > > > Thx
> > > >
> > > > Hiedra
> > > >
> > > >
> > > >
> > > > *De:* Harbs
> <ha...@gmail.com>>
> > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > *Para:*
> users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apach
> e-royale/
> > > >
> > > >
> > > >
> > > > Here’s a reference for other frameworks which integrated
> into
> echarts:
> > > >
> https://echarts.apache.org/en/download-extension.html#framework
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <
> mjesteve@iest.com<ma...@iest.com>>
> > > wrote:
> > > >
> > > >
> > > >
> > > > Piotr, where should I start? Do you recommend any
> integration guide?
> > > >
> > > > As I have commented, on some other occasion, I do not have
> an overview
> > of
> > > > how we interact with js ...
> > > >
> > > >
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > *De:* Piotr Zarzycki
> <pi...@gmail.com>>
> > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > *Para:*
> users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > > Hi Carlos,
> > > >
> > > >
> > > >
> > > > I didn't create typedefs and I won't have time for that -
> unless I will
> > > > get some direct task to do that. I have simply injected
> library trough
> > > > index.html and created AS3 classes which wrap up ECharts
> library. -
> > > Anyone
> > > > can do that in their app. - I just wanted to get information
> out that -
> > > > ECharts is working nicely with Royale.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 17:18 Carlos Rovira
> <carlosrovira@apache.org
> >
> > > > napisał(a):
> > > >
> > > > Hi Piotr, Maria,
> > > >
> > > >
> > > >
> > > > I think we should have an ECharts library in Royale. In this
> case, I
> > > don't
> > > > see the point for old Flex charts, and others here (like
> Chris
> Dutz)
> > > > already showed interest in it. What do you think about
> adding your
> > > current
> > > > library effort to Royale? I think many others here could be
> interested
> > in
> > > > contributing to it.
> > > >
> > > >
> > > >
> > > > If there's some client restrictions, I think we should plan
> to add our
> > > own.
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > > Carlos
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
> > > >
> > > > Hi Maria,
> > > >
> > > >
> > > >
> > > > I don't think that anyone put effort to emulate mx Charts.
> What's more
> > it
> > > > will be difficult to mix them with Jewel, due to CSS
> conflicts - it's
> > > > probably doable, but I doubt anyone tried.
> > > >
> > > >
> > > >
> > > > In our application I didn't even consider using any Charts
> from Royale
> > -
> > > > I went with usage of Apache ECharts [1] - I have finished
> integrating
> > it
> > > > with our Jewel app - it's not released yet, but in terms of
> integration
> > > it
> > > > wasn't too difficult. Maybe this could be your solution.
> > > >
> > > >
> > > >
> > > > [1] https://echarts.apache.org/
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve
> <mj...@iest.com>>
> > > > napisał(a):
> > > >
> > > > Hello,
> > > >
> > > > I have to make several Charts (bar and pie) and I was
> looking at the
> > > > examples included in the SDK.
> > > >
> > > >
> > > >
> > > > I am doing tests, in my Jewel Application implementing crux,
> with the
> > > > Basic Chart controls but I have problems with the dataproviders.
> Before
> > > > continuing I wanted to ask you a question ... could you use
> the mx
> > > charts?
> > > >
> > > >
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Carlos Rovira
> > > >
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Brian Raymes <br...@teotech.com>.
The flex-sdk-converter-maven-extension is not used for building Royale projects. Instead, it is used for converting Flex/AIR SDKs to Maven artifacts.
Remove extensions.xml (and the .mvn folder) as it is declaring this unneeded artifact.
I also see that you are targeting both SWF and JSRoyale. With echarts, isn't JSRoyale be the only usable option? May be a good idea to change <targets>SWF,JSRoyale</targets> to simply <targets>JSRoyale</targets> to only focus on JS output.
Hope this helps,
Brian
-----Original Message-----
From: Maria Jose Esteve <mj...@iest.com>
Sent: Friday, August 14, 2020 5:35 AM
To: dev@royale.apache.org
Subject: RE: Royale Echarts (was Re: Charts)
Sorry, The image of the error is not seen ... I paste text
PS D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts> mvn clean install -DskipTests [WARNING] The POM for org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT is missing, no dependency information available [WARNING] Failed to read extensions descriptor D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\.mvn\extensions.xml: Plugin org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.proj.example:royale-echarts >------------------- [INFO] Building royale-echarts 1.0-SNAPSHOT [INFO] --------------------------------[ swf ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ royale-echarts --- [INFO] Deleting D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\target
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ royale-echarts --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Using 'null' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\src\main\resources
[INFO]
[INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) @ royale-echarts --- [WARNING] The POM for com.adobe.flash.framework:playerglobal:swc:20.0 is missing, no dependency information available [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.053 s
[INFO] Finished at: 2020-08-14T14:33:59+02:00 [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.royale.compiler:royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) on project royale-echarts: Could not resolve dependencies for project com.proj.example:royale-echarts:swf:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.royale.framework:Core:swc:0.9.8-SNAPSHOT, com.adobe.flash.framework:playerglobal:swc:20.0,
org.apache.royale.framework:HTML:swc:0.9.8-SNAPSHOT: Could not find artifact org.apache.royale.framework:Core:swc:0.9.8-SNAPSHOT -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
PS D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts>
De: Maria Jose Esteve <mj...@iest.com> Enviado el: viernes, 14 de agosto de 2020 14:26
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
Hello,
I already have a few examples assembled and a shuttle for them 😝
As I have no experience with Maven or with compiling swc, etc, etc, I mounted them in a project, from my work, that "I had up and running" to do the initial tests, and everything OK.
To create the final project I have followed the steps indicated here [1] but I can't compile it ☹
The [2] instruction doesn't work for me because I don't have the settings-template.xml file.
I have launched the compilation, from the vscode Terminal, with the following instruction [3] it starts to compile but it gives me an error because it cannot find the artifacts ...
[cid:image001.png@01D67245.02877530]
I have included a .vscode/settings.json file with the 0.9.8 SDK settings but it doesn't work. Can you help me?
The repository [4] is made up of two projects, one for echarts and one for the examples.
I have not tried to compile the project with the examples, I have only copied the sample files that I had but I imagine that if I mounted it it would give me the same problem.
I have created a develop branch.
[1] https://github.com/apache/royale-asjs/wiki/Create-Royale-project-with-Maven
[2] mvn -s /Users/<YourUser>/<Path-To-You-Royale-Repo>/settings-template.xml clean install
[3] mvn clean install -DskipTests
[4] https://github.com/mjesteve/Royale-ECharts.git
Any help is welcome.
Thank you very much.
Hiedra
-----Mensaje original-----
De: Carlos Rovira <ca...@apache.org>>
Enviado el: miércoles, 29 de julio de 2020 18:23
Para: Apache Royale Development <de...@royale.apache.org>>
Asunto: Re: Royale Echarts (was Re: Charts)
Hi Maria Jose,
if the externs path is right for now, maybe you could create a temporal project in Github so we can take a look and try to use it.
Then it will be easier to see if we finally need royale component or just externs are sufficient.
For me right now is difficult to choose one path or other since I'm seeing that seems very easy to integrate, but maybe we could need some Royale data integration, or manage sizes or any other thing that could appear as we use it.
El mié., 29 jul. 2020 a las 17:55, Maria Jose Esteve (<mj...@iest.com>>)
escribió:
> Chris,
> Do I have to mount the project in any specific way?
> My idea is, create a JSRoyale project with crux, maybe. (mvc)
>
> Do you have or do we have a repo for this?
>
> Thx.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz
> <ch...@c-ware.de>> Enviado
> el: martes, 28
> de julio de 2020 17:28
> Para: dev@royale.apache.org<ma...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi folks,
>
> I agree that perhaps creating real wrappers for some of the most used
> charts and creating some documentation on how to add new ones could be
> a great thing for people wanting to get engaged in the project. Should
> be fairly simple to do this via PRs.
>
> I remember Harbs saying he had already been working on this?
>
> For my ApacheCon talk proposal "Home automation with apache" this
> would be a super awesome addition ;-)
>
> Chris
>
>
>
> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>>:
>
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all
> to that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not
> something that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this
> case I
> think we should concentrate on most used graphs (Bar, Pie,
> Columns,
> Area,..), maybe start with just a few most used cases, and make it
> very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to
> be easily
> created by extending initial code, and just the same effort that
> creates
> the typedef stubs. Anyway, other more rare graphs can be left for now.
> We
> don't need to try to cover fully ECharts since even for typedefs
> could be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
>
> > Hi Carlos,
> >
> > Well at some point would love to see wrappers around it, but the
> more I'm
> > thinking about it the more it is something which may not be
> worth due to
> > magnitude of work.
> >
> > There are literally hundreds of types of charts and if you
> wanted to wrap
> > up based on types or something like that you will end up in a
> rabbit hole.
> >
> > I feel like it would be better to have typedefs and let users to
> use
> > ECharts documentation to create whatever they want, wrap
> whatever they
> > need.
> >
> > Thanks,
> > Piotr
> >
> > wt., 28 lip 2020 o 11:53 Carlos Rovira
> <ca...@apache.org>>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I think charts are a very important part of UX and UI Solutions.
> It was
> > for
> > > Flex and Royale needs something actual.
> > > Emulation always can continue efforts on mx chart versions.
> But new
> > Royale
> > > Apps (mostly Jewel, Basic and others) will required some
> modern solution.
> > >
> > > Seems all folks here point to ECharts, so I'm planning to
> create a
> > library
> > > for Apache ECharts in the same way I did in the past for MDL,
> so instead
> > of
> > > just creating an @extern, it will be a Royale Component with
> its own API.
> > >
> > > Another way would be to just create @externs for ECharts, but
> since it
> > is a
> > > "component", it seems using like a UIBase inside Royale will
> benefit
> > from a
> > > better integration.
> > >
> > > In resume, seems to me what I did for MDL seems the best to
> apply here,
> > > instead something like html2pdf, that seems to me a clear
> input that
> > wants
> > > a clear output and is not something we require to integrate
> and mix well
> > > with other Royale controls and containers
> > >
> > > So what do you think about this?
> > >
> > >
> > >
> > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> mjesteve@iest.com<ma...@iest.com>
> > >)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > Thanks Harbs.
> > > >
> > > > Yesterday I was looking at Carlos's integration with
> html2PDF,
> > > > https://github.com/tomLadder/react-native-echarts-wrapper
> and some
> > > > examples from the SDK.
> > > >
> > > >
> > > >
> > > > I have implemented an echart class, another echartInstance,
> but I don't
> > > > know if it will work as I need… In principle it seems that I
> can only
> > > > create one instance of echart per document (at least that's
> what they
> > > > advise, of course) and handle each “independent graph ”With
> the
> > property“
> > > > group ”,…
> > > >
> > > >
> > > >
> > > > Well, I keep doing tests ... I don't know if I will succeed
> because I'm
> > > > going "blind".
> > > >
> > > > I will continue to inform you.
> > > >
> > > >
> > > >
> > > > Thx
> > > >
> > > > Hiedra
> > > >
> > > >
> > > >
> > > > *De:* Harbs
> <ha...@gmail.com>>
> > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > *Para:*
> users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apach
> e-royale/
> > > >
> > > >
> > > >
> > > > Here’s a reference for other frameworks which integrated
> into
> echarts:
> > > >
> https://echarts.apache.org/en/download-extension.html#framework
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <
> mjesteve@iest.com<ma...@iest.com>>
> > > wrote:
> > > >
> > > >
> > > >
> > > > Piotr, where should I start? Do you recommend any
> integration guide?
> > > >
> > > > As I have commented, on some other occasion, I do not have
> an overview
> > of
> > > > how we interact with js ...
> > > >
> > > >
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > *De:* Piotr Zarzycki
> <pi...@gmail.com>>
> > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > *Para:*
> users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > > Hi Carlos,
> > > >
> > > >
> > > >
> > > > I didn't create typedefs and I won't have time for that -
> unless I will
> > > > get some direct task to do that. I have simply injected
> library trough
> > > > index.html and created AS3 classes which wrap up ECharts
> library. -
> > > Anyone
> > > > can do that in their app. - I just wanted to get information
> out that -
> > > > ECharts is working nicely with Royale.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 17:18 Carlos Rovira
> <carlosrovira@apache.org
> >
> > > > napisał(a):
> > > >
> > > > Hi Piotr, Maria,
> > > >
> > > >
> > > >
> > > > I think we should have an ECharts library in Royale. In this
> case, I
> > > don't
> > > > see the point for old Flex charts, and others here (like
> Chris
> Dutz)
> > > > already showed interest in it. What do you think about
> adding your
> > > current
> > > > library effort to Royale? I think many others here could be
> interested
> > in
> > > > contributing to it.
> > > >
> > > >
> > > >
> > > > If there's some client restrictions, I think we should plan
> to add our
> > > own.
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > > Carlos
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
> > > >
> > > > Hi Maria,
> > > >
> > > >
> > > >
> > > > I don't think that anyone put effort to emulate mx Charts.
> What's more
> > it
> > > > will be difficult to mix them with Jewel, due to CSS
> conflicts - it's
> > > > probably doable, but I doubt anyone tried.
> > > >
> > > >
> > > >
> > > > In our application I didn't even consider using any Charts
> from Royale
> > -
> > > > I went with usage of Apache ECharts [1] - I have finished
> integrating
> > it
> > > > with our Jewel app - it's not released yet, but in terms of
> integration
> > > it
> > > > wasn't too difficult. Maybe this could be your solution.
> > > >
> > > >
> > > >
> > > > [1] https://echarts.apache.org/
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve
> <mj...@iest.com>>
> > > > napisał(a):
> > > >
> > > > Hello,
> > > >
> > > > I have to make several Charts (bar and pie) and I was
> looking at the
> > > > examples included in the SDK.
> > > >
> > > >
> > > >
> > > > I am doing tests, in my Jewel Application implementing crux,
> with the
> > > > Basic Chart controls but I have problems with the dataproviders.
> Before
> > > > continuing I wanted to ask you a question ... could you use
> the mx
> > > charts?
> > > >
> > > >
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Carlos Rovira
> > > >
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Sorry, The image of the error is not seen ... I paste text
PS D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts> mvn clean install -DskipTests
[WARNING] The POM for org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT is missing, no dependency information available
[WARNING] Failed to read extensions descriptor D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\.mvn\extensions.xml: Plugin org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.apache.royale.utilities.converter:flex-sdk-converter-maven-extension:jar:1.0.0-SNAPSHOT
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.proj.example:royale-echarts >-------------------
[INFO] Building royale-echarts 1.0-SNAPSHOT
[INFO] --------------------------------[ swf ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ royale-echarts ---
[INFO] Deleting D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\target
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ royale-echarts ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Using 'null' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\src\main\resources
[INFO]
[INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) @ royale-echarts ---
[WARNING] The POM for com.adobe.flash.framework:playerglobal:swc:20.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.053 s
[INFO] Finished at: 2020-08-14T14:33:59+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.royale.compiler:royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) on project royale-echarts: Could not resolve dependencies for project com.proj.example:royale-echarts:swf:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.royale.framework:Core:swc:0.9.8-SNAPSHOT, com.adobe.flash.framework:playerglobal:swc:20.0,
org.apache.royale.framework:HTML:swc:0.9.8-SNAPSHOT: Could not find artifact org.apache.royale.framework:Core:swc:0.9.8-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
PS D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts>
De: Maria Jose Esteve <mj...@iest.com>
Enviado el: viernes, 14 de agosto de 2020 14:26
Para: dev@royale.apache.org
Asunto: RE: Royale Echarts (was Re: Charts)
Hello,
I already have a few examples assembled and a shuttle for them 😝
As I have no experience with Maven or with compiling swc, etc, etc, I mounted them in a project, from my work, that "I had up and running" to do the initial tests, and everything OK.
To create the final project I have followed the steps indicated here [1] but I can't compile it ☹
The [2] instruction doesn't work for me because I don't have the settings-template.xml file.
I have launched the compilation, from the vscode Terminal, with the following instruction [3] it starts to compile but it gives me an error because it cannot find the artifacts ...
[cid:image001.png@01D67245.02877530]
I have included a .vscode/settings.json file with the 0.9.8 SDK settings but it doesn't work. Can you help me?
The repository [4] is made up of two projects, one for echarts and one for the examples.
I have not tried to compile the project with the examples, I have only copied the sample files that I had but I imagine that if I mounted it it would give me the same problem.
I have created a develop branch.
[1] https://github.com/apache/royale-asjs/wiki/Create-Royale-project-with-Maven
[2] mvn -s /Users/<YourUser>/<Path-To-You-Royale-Repo>/settings-template.xml clean install
[3] mvn clean install -DskipTests
[4] https://github.com/mjesteve/Royale-ECharts.git
Any help is welcome.
Thank you very much.
Hiedra
-----Mensaje original-----
De: Carlos Rovira <ca...@apache.org>>
Enviado el: miércoles, 29 de julio de 2020 18:23
Para: Apache Royale Development <de...@royale.apache.org>>
Asunto: Re: Royale Echarts (was Re: Charts)
Hi Maria Jose,
if the externs path is right for now, maybe you could create a temporal project in Github so we can take a look and try to use it.
Then it will be easier to see if we finally need royale component or just externs are sufficient.
For me right now is difficult to choose one path or other since I'm seeing that seems very easy to integrate, but maybe we could need some Royale data integration, or manage sizes or any other thing that could appear as we use it.
El mié., 29 jul. 2020 a las 17:55, Maria Jose Esteve (<mj...@iest.com>>)
escribió:
> Chris,
> Do I have to mount the project in any specific way?
> My idea is, create a JSRoyale project with crux, maybe. (mvc)
>
> Do you have or do we have a repo for this?
>
> Thx.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>> Enviado el: martes, 28
> de julio de 2020 17:28
> Para: dev@royale.apache.org<ma...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi folks,
>
> I agree that perhaps creating real wrappers for some of the most used
> charts and creating some documentation on how to add new ones could be
> a great thing for people wanting to get engaged in the project. Should
> be fairly simple to do this via PRs.
>
> I remember Harbs saying he had already been working on this?
>
> For my ApacheCon talk proposal "Home automation with apache" this
> would be a super awesome addition ;-)
>
> Chris
>
>
>
> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>>:
>
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all
> to that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not
> something that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this
> case I
> think we should concentrate on most used graphs (Bar, Pie, Columns,
> Area,..), maybe start with just a few most used cases, and make it very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to
> be easily
> created by extending initial code, and just the same effort that
> creates
> the typedef stubs. Anyway, other more rare graphs can be left for now.
> We
> don't need to try to cover fully ECharts since even for typedefs
> could be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
>
> > Hi Carlos,
> >
> > Well at some point would love to see wrappers around it, but the
> more I'm
> > thinking about it the more it is something which may not be
> worth due to
> > magnitude of work.
> >
> > There are literally hundreds of types of charts and if you
> wanted to wrap
> > up based on types or something like that you will end up in a
> rabbit hole.
> >
> > I feel like it would be better to have typedefs and let users to use
> > ECharts documentation to create whatever they want, wrap
> whatever they
> > need.
> >
> > Thanks,
> > Piotr
> >
> > wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I think charts are a very important part of UX and UI Solutions.
> It was
> > for
> > > Flex and Royale needs something actual.
> > > Emulation always can continue efforts on mx chart versions. But new
> > Royale
> > > Apps (mostly Jewel, Basic and others) will required some
> modern solution.
> > >
> > > Seems all folks here point to ECharts, so I'm planning to create a
> > library
> > > for Apache ECharts in the same way I did in the past for MDL,
> so instead
> > of
> > > just creating an @extern, it will be a Royale Component with
> its own API.
> > >
> > > Another way would be to just create @externs for ECharts, but
> since it
> > is a
> > > "component", it seems using like a UIBase inside Royale will
> benefit
> > from a
> > > better integration.
> > >
> > > In resume, seems to me what I did for MDL seems the best to
> apply here,
> > > instead something like html2pdf, that seems to me a clear
> input that
> > wants
> > > a clear output and is not something we require to integrate
> and mix well
> > > with other Royale controls and containers
> > >
> > > So what do you think about this?
> > >
> > >
> > >
> > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> mjesteve@iest.com<ma...@iest.com>
> > >)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > Thanks Harbs.
> > > >
> > > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > > https://github.com/tomLadder/react-native-echarts-wrapper
> and some
> > > > examples from the SDK.
> > > >
> > > >
> > > >
> > > > I have implemented an echart class, another echartInstance,
> but I don't
> > > > know if it will work as I need… In principle it seems that I
> can only
> > > > create one instance of echart per document (at least that's
> what they
> > > > advise, of course) and handle each “independent graph ”With the
> > property“
> > > > group ”,…
> > > >
> > > >
> > > >
> > > > Well, I keep doing tests ... I don't know if I will succeed
> because I'm
> > > > going "blind".
> > > >
> > > > I will continue to inform you.
> > > >
> > > >
> > > >
> > > > Thx
> > > >
> > > > Hiedra
> > > >
> > > >
> > > >
> > > > *De:* Harbs <ha...@gmail.com>>
> > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > *Para:* users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > > >
> > > >
> > > >
> > > > Here’s a reference for other frameworks which integrated
> into
> echarts:
> > > > https://echarts.apache.org/en/download-extension.html#framework
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <
> mjesteve@iest.com<ma...@iest.com>>
> > > wrote:
> > > >
> > > >
> > > >
> > > > Piotr, where should I start? Do you recommend any
> integration guide?
> > > >
> > > > As I have commented, on some other occasion, I do not have
> an overview
> > of
> > > > how we interact with js ...
> > > >
> > > >
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > *De:* Piotr Zarzycki <pi...@gmail.com>>
> > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > *Para:* users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > > Hi Carlos,
> > > >
> > > >
> > > >
> > > > I didn't create typedefs and I won't have time for that -
> unless I will
> > > > get some direct task to do that. I have simply injected
> library trough
> > > > index.html and created AS3 classes which wrap up ECharts
> library. -
> > > Anyone
> > > > can do that in their app. - I just wanted to get information
> out that -
> > > > ECharts is working nicely with Royale.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 17:18 Carlos Rovira
> <carlosrovira@apache.org
> >
> > > > napisał(a):
> > > >
> > > > Hi Piotr, Maria,
> > > >
> > > >
> > > >
> > > > I think we should have an ECharts library in Royale. In this
> case, I
> > > don't
> > > > see the point for old Flex charts, and others here (like
> Chris
> Dutz)
> > > > already showed interest in it. What do you think about
> adding your
> > > current
> > > > library effort to Royale? I think many others here could be
> interested
> > in
> > > > contributing to it.
> > > >
> > > >
> > > >
> > > > If there's some client restrictions, I think we should plan
> to add our
> > > own.
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > > Carlos
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
> > > >
> > > > Hi Maria,
> > > >
> > > >
> > > >
> > > > I don't think that anyone put effort to emulate mx Charts.
> What's more
> > it
> > > > will be difficult to mix them with Jewel, due to CSS
> conflicts - it's
> > > > probably doable, but I doubt anyone tried.
> > > >
> > > >
> > > >
> > > > In our application I didn't even consider using any Charts
> from Royale
> > -
> > > > I went with usage of Apache ECharts [1] - I have finished
> integrating
> > it
> > > > with our Jewel app - it's not released yet, but in terms of
> integration
> > > it
> > > > wasn't too difficult. Maybe this could be your solution.
> > > >
> > > >
> > > >
> > > > [1] https://echarts.apache.org/
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>>
> > > > napisał(a):
> > > >
> > > > Hello,
> > > >
> > > > I have to make several Charts (bar and pie) and I was
> looking at the
> > > > examples included in the SDK.
> > > >
> > > >
> > > >
> > > > I am doing tests, in my Jewel Application implementing crux,
> with the
> > > > Basic Chart controls but I have problems with the dataproviders.
> Before
> > > > continuing I wanted to ask you a question ... could you use
> the mx
> > > charts?
> > > >
> > > >
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Carlos Rovira
> > > >
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Hello,
I already have a few examples assembled and a shuttle for them 😝
As I have no experience with Maven or with compiling swc, etc, etc, I mounted them in a project, from my work, that "I had up and running" to do the initial tests, and everything OK.
To create the final project I have followed the steps indicated here [1] but I can't compile it ☹
The [2] instruction doesn't work for me because I don't have the settings-template.xml file.
I have launched the compilation, from the vscode Terminal, with the following instruction [3] it starts to compile but it gives me an error because it cannot find the artifacts ...
[cid:image001.png@01D67245.02877530]
I have included a .vscode/settings.json file with the 0.9.8 SDK settings but it doesn't work. Can you help me?
The repository [4] is made up of two projects, one for echarts and one for the examples.
I have not tried to compile the project with the examples, I have only copied the sample files that I had but I imagine that if I mounted it it would give me the same problem.
I have created a develop branch.
[1] https://github.com/apache/royale-asjs/wiki/Create-Royale-project-with-Maven
[2] mvn -s /Users/<YourUser>/<Path-To-You-Royale-Repo>/settings-template.xml clean install
[3] mvn clean install -DskipTests
[4] https://github.com/mjesteve/Royale-ECharts.git
Any help is welcome.
Thank you very much.
Hiedra
-----Mensaje original-----
De: Carlos Rovira <ca...@apache.org>
Enviado el: miércoles, 29 de julio de 2020 18:23
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Royale Echarts (was Re: Charts)
Hi Maria Jose,
if the externs path is right for now, maybe you could create a temporal project in Github so we can take a look and try to use it.
Then it will be easier to see if we finally need royale component or just externs are sufficient.
For me right now is difficult to choose one path or other since I'm seeing that seems very easy to integrate, but maybe we could need some Royale data integration, or manage sizes or any other thing that could appear as we use it.
El mié., 29 jul. 2020 a las 17:55, Maria Jose Esteve (<mj...@iest.com>>)
escribió:
> Chris,
> Do I have to mount the project in any specific way?
> My idea is, create a JSRoyale project with crux, maybe. (mvc)
>
> Do you have or do we have a repo for this?
>
> Thx.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>> Enviado el: martes, 28
> de julio de 2020 17:28
> Para: dev@royale.apache.org<ma...@royale.apache.org>
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi folks,
>
> I agree that perhaps creating real wrappers for some of the most used
> charts and creating some documentation on how to add new ones could be
> a great thing for people wanting to get engaged in the project. Should
> be fairly simple to do this via PRs.
>
> I remember Harbs saying he had already been working on this?
>
> For my ApacheCon talk proposal "Home automation with apache" this
> would be a super awesome addition ;-)
>
> Chris
>
>
>
> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>>:
>
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all
> to that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not
> something that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this
> case I
> think we should concentrate on most used graphs (Bar, Pie, Columns,
> Area,..), maybe start with just a few most used cases, and make it very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to
> be easily
> created by extending initial code, and just the same effort that
> creates
> the typedef stubs. Anyway, other more rare graphs can be left for now.
> We
> don't need to try to cover fully ECharts since even for typedefs
> could be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
>
> > Hi Carlos,
> >
> > Well at some point would love to see wrappers around it, but the
> more I'm
> > thinking about it the more it is something which may not be
> worth due to
> > magnitude of work.
> >
> > There are literally hundreds of types of charts and if you
> wanted to wrap
> > up based on types or something like that you will end up in a
> rabbit hole.
> >
> > I feel like it would be better to have typedefs and let users to use
> > ECharts documentation to create whatever they want, wrap
> whatever they
> > need.
> >
> > Thanks,
> > Piotr
> >
> > wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I think charts are a very important part of UX and UI Solutions.
> It was
> > for
> > > Flex and Royale needs something actual.
> > > Emulation always can continue efforts on mx chart versions. But new
> > Royale
> > > Apps (mostly Jewel, Basic and others) will required some
> modern solution.
> > >
> > > Seems all folks here point to ECharts, so I'm planning to create a
> > library
> > > for Apache ECharts in the same way I did in the past for MDL,
> so instead
> > of
> > > just creating an @extern, it will be a Royale Component with
> its own API.
> > >
> > > Another way would be to just create @externs for ECharts, but
> since it
> > is a
> > > "component", it seems using like a UIBase inside Royale will
> benefit
> > from a
> > > better integration.
> > >
> > > In resume, seems to me what I did for MDL seems the best to
> apply here,
> > > instead something like html2pdf, that seems to me a clear
> input that
> > wants
> > > a clear output and is not something we require to integrate
> and mix well
> > > with other Royale controls and containers
> > >
> > > So what do you think about this?
> > >
> > >
> > >
> > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> mjesteve@iest.com<ma...@iest.com>
> > >)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > Thanks Harbs.
> > > >
> > > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > > https://github.com/tomLadder/react-native-echarts-wrapper
> and some
> > > > examples from the SDK.
> > > >
> > > >
> > > >
> > > > I have implemented an echart class, another echartInstance,
> but I don't
> > > > know if it will work as I need… In principle it seems that I
> can only
> > > > create one instance of echart per document (at least that's
> what they
> > > > advise, of course) and handle each “independent graph ”With the
> > property“
> > > > group ”,…
> > > >
> > > >
> > > >
> > > > Well, I keep doing tests ... I don't know if I will succeed
> because I'm
> > > > going "blind".
> > > >
> > > > I will continue to inform you.
> > > >
> > > >
> > > >
> > > > Thx
> > > >
> > > > Hiedra
> > > >
> > > >
> > > >
> > > > *De:* Harbs <ha...@gmail.com>>
> > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > *Para:* users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > > >
> > > >
> > > >
> > > > Here’s a reference for other frameworks which integrated
> into
> echarts:
> > > > https://echarts.apache.org/en/download-extension.html#framework
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <
> mjesteve@iest.com<ma...@iest.com>>
> > > wrote:
> > > >
> > > >
> > > >
> > > > Piotr, where should I start? Do you recommend any
> integration guide?
> > > >
> > > > As I have commented, on some other occasion, I do not have
> an overview
> > of
> > > > how we interact with js ...
> > > >
> > > >
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > *De:* Piotr Zarzycki <pi...@gmail.com>>
> > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > *Para:* users@royale.apache.org<ma...@royale.apache.org>
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > > Hi Carlos,
> > > >
> > > >
> > > >
> > > > I didn't create typedefs and I won't have time for that -
> unless I will
> > > > get some direct task to do that. I have simply injected
> library trough
> > > > index.html and created AS3 classes which wrap up ECharts
> library. -
> > > Anyone
> > > > can do that in their app. - I just wanted to get information
> out that -
> > > > ECharts is working nicely with Royale.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 17:18 Carlos Rovira
> <carlosrovira@apache.org
> >
> > > > napisał(a):
> > > >
> > > > Hi Piotr, Maria,
> > > >
> > > >
> > > >
> > > > I think we should have an ECharts library in Royale. In this
> case, I
> > > don't
> > > > see the point for old Flex charts, and others here (like
> Chris
> Dutz)
> > > > already showed interest in it. What do you think about
> adding your
> > > current
> > > > library effort to Royale? I think many others here could be
> interested
> > in
> > > > contributing to it.
> > > >
> > > >
> > > >
> > > > If there's some client restrictions, I think we should plan
> to add our
> > > own.
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > > Carlos
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>) escribió:
> > > >
> > > > Hi Maria,
> > > >
> > > >
> > > >
> > > > I don't think that anyone put effort to emulate mx Charts.
> What's more
> > it
> > > > will be difficult to mix them with Jewel, due to CSS
> conflicts - it's
> > > > probably doable, but I doubt anyone tried.
> > > >
> > > >
> > > >
> > > > In our application I didn't even consider using any Charts
> from Royale
> > -
> > > > I went with usage of Apache ECharts [1] - I have finished
> integrating
> > it
> > > > with our Jewel app - it's not released yet, but in terms of
> integration
> > > it
> > > > wasn't too difficult. Maybe this could be your solution.
> > > >
> > > >
> > > >
> > > > [1] https://echarts.apache.org/
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>>
> > > > napisał(a):
> > > >
> > > > Hello,
> > > >
> > > > I have to make several Charts (bar and pie) and I was
> looking at the
> > > > examples included in the SDK.
> > > >
> > > >
> > > >
> > > > I am doing tests, in my Jewel Application implementing crux,
> with the
> > > > Basic Chart controls but I have problems with the dataproviders.
> Before
> > > > continuing I wanted to ask you a question ... could you use
> the mx
> > > charts?
> > > >
> > > >
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Carlos Rovira
> > > >
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi,
I have had some difficult days and I have not been able to dedicate time to this, but from tomorrow or the day after tomorrow I will return to it.
I tell you when I have something to show.
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: miércoles, 29 de julio de 2020 18:30
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Royale Echarts (was Re: Charts)
Maybe initially creating typedefs is the way to go and next any addition like custom classes.
śr., 29 lip 2020 o 18:23 Carlos Rovira <ca...@apache.org> napisał(a):
> Hi Maria Jose,
>
> if the externs path is right for now, maybe you could create a
> temporal project in Github so we can take a look and try to use it.
> Then it will be easier to see if we finally need royale component or
> just externs are sufficient.
> For me right now is difficult to choose one path or other since I'm
> seeing that seems very easy to integrate, but maybe we could need some
> Royale data integration, or manage sizes or any other thing that could
> appear as we use it.
>
> El mié., 29 jul. 2020 a las 17:55, Maria Jose Esteve
> (<mj...@iest.com>)
> escribió:
>
> > Chris,
> > Do I have to mount the project in any specific way?
> > My idea is, create a JSRoyale project with crux, maybe. (mvc)
> >
> > Do you have or do we have a repo for this?
> >
> > Thx.
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: martes,
> > 28 de julio de 2020 17:28
> > Para: dev@royale.apache.org
> > Asunto: Re: Royale Echarts (was Re: Charts)
> >
> > Hi folks,
> >
> > I agree that perhaps creating real wrappers for some of the most
> > used charts and creating some documentation on how to add new ones
> > could be a great thing for people wanting to get engaged in the
> > project. Should be fairly simple to do this via PRs.
> >
> > I remember Harbs saying he had already been working on this?
> >
> > For my ApacheCon talk proposal "Home automation with apache" this
> > would
> be
> > a super awesome addition ;-)
> >
> > Chris
> >
> >
> >
> > Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
> >
> > Hi Piotr,
> >
> > I saw there's lots of graphs in ECharts, and trying to bring all
> > to that
> > library could be a huge amount of work.
> > On the other hand just typedefs could be in this case not
> > something that
> > integrates really good with the rest of royale.
> >
> > Most of the time things should not be black or white, and in
> > this
> case
> > I
> > think we should concentrate on most used graphs (Bar, Pie, Columns,
> > Area,..), maybe start with just a few most used cases, and make
> > it
> very
> > usable in Royale.
> >
> > After that, others could bring more graphs. I expect the rest to
> > be easily
> > created by extending initial code, and just the same effort that
> > creates
> > the typedef stubs. Anyway, other more rare graphs can be left
> > for
> now.
> > We
> > don't need to try to cover fully ECharts since even for typedefs
> could
> > be
> > huge work.
> >
> > just my 2
> >
> >
> > El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > > Hi Carlos,
> > >
> > > Well at some point would love to see wrappers around it, but
> > the more I'm
> > > thinking about it the more it is something which may not be
> > worth due to
> > > magnitude of work.
> > >
> > > There are literally hundreds of types of charts and if you
> > wanted
> to
> > wrap
> > > up based on types or something like that you will end up in a
> rabbit
> > hole.
> > >
> > > I feel like it would be better to have typedefs and let users
> > to
> use
> > > ECharts documentation to create whatever they want, wrap
> > whatever they
> > > need.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I think charts are a very important part of UX and UI Solutions.
> > It was
> > > for
> > > > Flex and Royale needs something actual.
> > > > Emulation always can continue efforts on mx chart versions.
> > But
> new
> > > Royale
> > > > Apps (mostly Jewel, Basic and others) will required some
> > modern solution.
> > > >
> > > > Seems all folks here point to ECharts, so I'm planning to
> > create
> a
> > > library
> > > > for Apache ECharts in the same way I did in the past for
> > MDL, so instead
> > > of
> > > > just creating an @extern, it will be a Royale Component with
> > its own API.
> > > >
> > > > Another way would be to just create @externs for ECharts,
> > but since it
> > > is a
> > > > "component", it seems using like a UIBase inside Royale will
> > benefit
> > > from a
> > > > better integration.
> > > >
> > > > In resume, seems to me what I did for MDL seems the best to
> > apply here,
> > > > instead something like html2pdf, that seems to me a clear
> > input that
> > > wants
> > > > a clear output and is not something we require to integrate
> > and mix well
> > > > with other Royale controls and containers
> > > >
> > > > So what do you think about this?
> > > >
> > > >
> > > >
> > > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> > mjesteve@iest.com
> > > >)
> > > > escribió:
> > > >
> > > > > Hi,
> > > > >
> > > > > Thanks Harbs.
> > > > >
> > > > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > > > https://github.com/tomLadder/react-native-echarts-wrapper
> > and some
> > > > > examples from the SDK.
> > > > >
> > > > >
> > > > >
> > > > > I have implemented an echart class, another
> > echartInstance, but I don't
> > > > > know if it will work as I need… In principle it seems that
> > I
> can
> > only
> > > > > create one instance of echart per document (at least
> > that's
> what
> > they
> > > > > advise, of course) and handle each “independent graph ”With the
> > > property“
> > > > > group ”,…
> > > > >
> > > > >
> > > > >
> > > > > Well, I keep doing tests ... I don't know if I will
> > succeed because I'm
> > > > > going "blind".
> > > > >
> > > > > I will continue to inform you.
> > > > >
> > > > >
> > > > >
> > > > > Thx
> > > > >
> > > > > Hiedra
> > > > >
> > > > >
> > > > >
> > > > > *De:* Harbs <ha...@gmail.com>
> > > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > > *Para:* users@royale.apache.org
> > > > > *Asunto:* Re: Charts
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apach
> e-royale/
> > > > >
> > > > >
> > > > >
> > > > > Here’s a reference for other frameworks which integrated
> > into
> > echarts:
> > > > >
> https://echarts.apache.org/en/download-extension.html#framework
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <
> > mjesteve@iest.com>
> > > > wrote:
> > > > >
> > > > >
> > > > >
> > > > > Piotr, where should I start? Do you recommend any
> > integration guide?
> > > > >
> > > > > As I have commented, on some other occasion, I do not have
> > an overview
> > > of
> > > > > how we interact with js ...
> > > > >
> > > > >
> > > > >
> > > > > Hiedra.
> > > > >
> > > > >
> > > > >
> > > > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > > *Para:* users@royale.apache.org
> > > > > *Asunto:* Re: Charts
> > > > >
> > > > >
> > > > >
> > > > > Hi Carlos,
> > > > >
> > > > >
> > > > >
> > > > > I didn't create typedefs and I won't have time for that -
> unless
> > I will
> > > > > get some direct task to do that. I have simply injected
> > library trough
> > > > > index.html and created AS3 classes which wrap up ECharts
> > library. -
> > > > Anyone
> > > > > can do that in their app. - I just wanted to get
> > information
> out
> > that -
> > > > > ECharts is working nicely with Royale.
> > > > >
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Piotr
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > pon., 27 lip 2020 o 17:18 Carlos Rovira <
> carlosrovira@apache.org
> > >
> > > > > napisał(a):
> > > > >
> > > > > Hi Piotr, Maria,
> > > > >
> > > > >
> > > > >
> > > > > I think we should have an ECharts library in Royale. In
> > this case, I
> > > > don't
> > > > > see the point for old Flex charts, and others here (like
> > Chris
> > Dutz)
> > > > > already showed interest in it. What do you think about
> > adding your
> > > > current
> > > > > library effort to Royale? I think many others here could
> > be interested
> > > in
> > > > > contributing to it.
> > > > >
> > > > >
> > > > >
> > > > > If there's some client restrictions, I think we should
> > plan to add our
> > > > own.
> > > > >
> > > > >
> > > > >
> > > > > Thanks!
> > > > >
> > > > >
> > > > >
> > > > > Carlos
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com>) escribió:
> > > > >
> > > > > Hi Maria,
> > > > >
> > > > >
> > > > >
> > > > > I don't think that anyone put effort to emulate mx Charts.
> > What's more
> > > it
> > > > > will be difficult to mix them with Jewel, due to CSS
> > conflicts
> -
> > it's
> > > > > probably doable, but I doubt anyone tried.
> > > > >
> > > > >
> > > > >
> > > > > In our application I didn't even consider using any Charts
> > from Royale
> > > -
> > > > > I went with usage of Apache ECharts [1] - I have finished
> > integrating
> > > it
> > > > > with our Jewel app - it's not released yet, but in terms
> > of integration
> > > > it
> > > > > wasn't too difficult. Maybe this could be your solution.
> > > > >
> > > > >
> > > > >
> > > > > [1] https://echarts.apache.org/
> > > > >
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Piotr
> > > > >
> > > > >
> > > > >
> > > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve
> > <mjesteve@iest.com
> >
> > > > > napisał(a):
> > > > >
> > > > > Hello,
> > > > >
> > > > > I have to make several Charts (bar and pie) and I was
> > looking
> at
> > the
> > > > > examples included in the SDK.
> > > > >
> > > > >
> > > > >
> > > > > I am doing tests, in my Jewel Application implementing
> > crux, with the
> > > > > Basic Chart controls but I have problems with the
> dataproviders.
> > Before
> > > > > continuing I wanted to ask you a question ... could you
> > use the mx
> > > > charts?
> > > > >
> > > > >
> > > > >
> > > > > Thank you
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *Piotr Zarzycki *
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Carlos Rovira
> > > > >
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *Piotr Zarzycki *
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Royale Echarts (was Re: Charts)
Posted by Piotr Zarzycki <pi...@gmail.com>.
Maybe initially creating typedefs is the way to go and next any addition
like custom classes.
śr., 29 lip 2020 o 18:23 Carlos Rovira <ca...@apache.org> napisał(a):
> Hi Maria Jose,
>
> if the externs path is right for now, maybe you could create a temporal
> project in Github so we can take a look and try to use it.
> Then it will be easier to see if we finally need royale component or just
> externs are sufficient.
> For me right now is difficult to choose one path or other since I'm seeing
> that seems very easy to integrate, but maybe we could
> need some Royale data integration, or manage sizes or any other thing that
> could appear as we use it.
>
> El mié., 29 jul. 2020 a las 17:55, Maria Jose Esteve (<mj...@iest.com>)
> escribió:
>
> > Chris,
> > Do I have to mount the project in any specific way?
> > My idea is, create a JSRoyale project with crux, maybe. (mvc)
> >
> > Do you have or do we have a repo for this?
> >
> > Thx.
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: martes, 28 de julio de 2020 17:28
> > Para: dev@royale.apache.org
> > Asunto: Re: Royale Echarts (was Re: Charts)
> >
> > Hi folks,
> >
> > I agree that perhaps creating real wrappers for some of the most used
> > charts and creating some documentation on how to add new ones could be a
> > great thing for people wanting to get engaged in the project. Should be
> > fairly simple to do this via PRs.
> >
> > I remember Harbs saying he had already been working on this?
> >
> > For my ApacheCon talk proposal "Home automation with apache" this would
> be
> > a super awesome addition ;-)
> >
> > Chris
> >
> >
> >
> > Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
> >
> > Hi Piotr,
> >
> > I saw there's lots of graphs in ECharts, and trying to bring all to
> > that
> > library could be a huge amount of work.
> > On the other hand just typedefs could be in this case not something
> > that
> > integrates really good with the rest of royale.
> >
> > Most of the time things should not be black or white, and in this
> case
> > I
> > think we should concentrate on most used graphs (Bar, Pie, Columns,
> > Area,..), maybe start with just a few most used cases, and make it
> very
> > usable in Royale.
> >
> > After that, others could bring more graphs. I expect the rest to be
> > easily
> > created by extending initial code, and just the same effort that
> > creates
> > the typedef stubs. Anyway, other more rare graphs can be left for
> now.
> > We
> > don't need to try to cover fully ECharts since even for typedefs
> could
> > be
> > huge work.
> >
> > just my 2
> >
> >
> > El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > > Hi Carlos,
> > >
> > > Well at some point would love to see wrappers around it, but the
> > more I'm
> > > thinking about it the more it is something which may not be worth
> > due to
> > > magnitude of work.
> > >
> > > There are literally hundreds of types of charts and if you wanted
> to
> > wrap
> > > up based on types or something like that you will end up in a
> rabbit
> > hole.
> > >
> > > I feel like it would be better to have typedefs and let users to
> use
> > > ECharts documentation to create whatever they want, wrap whatever
> > they
> > > need.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I think charts are a very important part of UX and UI Solutions.
> > It was
> > > for
> > > > Flex and Royale needs something actual.
> > > > Emulation always can continue efforts on mx chart versions. But
> new
> > > Royale
> > > > Apps (mostly Jewel, Basic and others) will required some modern
> > solution.
> > > >
> > > > Seems all folks here point to ECharts, so I'm planning to create
> a
> > > library
> > > > for Apache ECharts in the same way I did in the past for MDL, so
> > instead
> > > of
> > > > just creating an @extern, it will be a Royale Component with its
> > own API.
> > > >
> > > > Another way would be to just create @externs for ECharts, but
> > since it
> > > is a
> > > > "component", it seems using like a UIBase inside Royale will
> > benefit
> > > from a
> > > > better integration.
> > > >
> > > > In resume, seems to me what I did for MDL seems the best to apply
> > here,
> > > > instead something like html2pdf, that seems to me a clear input
> > that
> > > wants
> > > > a clear output and is not something we require to integrate and
> > mix well
> > > > with other Royale controls and containers
> > > >
> > > > So what do you think about this?
> > > >
> > > >
> > > >
> > > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> > mjesteve@iest.com
> > > >)
> > > > escribió:
> > > >
> > > > > Hi,
> > > > >
> > > > > Thanks Harbs.
> > > > >
> > > > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > > > https://github.com/tomLadder/react-native-echarts-wrapper and
> > some
> > > > > examples from the SDK.
> > > > >
> > > > >
> > > > >
> > > > > I have implemented an echart class, another echartInstance, but
> > I don't
> > > > > know if it will work as I need… In principle it seems that I
> can
> > only
> > > > > create one instance of echart per document (at least that's
> what
> > they
> > > > > advise, of course) and handle each “independent graph ”With the
> > > property“
> > > > > group ”,…
> > > > >
> > > > >
> > > > >
> > > > > Well, I keep doing tests ... I don't know if I will succeed
> > because I'm
> > > > > going "blind".
> > > > >
> > > > > I will continue to inform you.
> > > > >
> > > > >
> > > > >
> > > > > Thx
> > > > >
> > > > > Hiedra
> > > > >
> > > > >
> > > > >
> > > > > *De:* Harbs <ha...@gmail.com>
> > > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > > *Para:* users@royale.apache.org
> > > > > *Asunto:* Re: Charts
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > > > >
> > > > >
> > > > >
> > > > > Here’s a reference for other frameworks which integrated into
> > echarts:
> > > > >
> https://echarts.apache.org/en/download-extension.html#framework
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <
> > mjesteve@iest.com>
> > > > wrote:
> > > > >
> > > > >
> > > > >
> > > > > Piotr, where should I start? Do you recommend any integration
> > guide?
> > > > >
> > > > > As I have commented, on some other occasion, I do not have an
> > overview
> > > of
> > > > > how we interact with js ...
> > > > >
> > > > >
> > > > >
> > > > > Hiedra.
> > > > >
> > > > >
> > > > >
> > > > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > > *Para:* users@royale.apache.org
> > > > > *Asunto:* Re: Charts
> > > > >
> > > > >
> > > > >
> > > > > Hi Carlos,
> > > > >
> > > > >
> > > > >
> > > > > I didn't create typedefs and I won't have time for that -
> unless
> > I will
> > > > > get some direct task to do that. I have simply injected library
> > trough
> > > > > index.html and created AS3 classes which wrap up ECharts
> > library. -
> > > > Anyone
> > > > > can do that in their app. - I just wanted to get information
> out
> > that -
> > > > > ECharts is working nicely with Royale.
> > > > >
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Piotr
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > pon., 27 lip 2020 o 17:18 Carlos Rovira <
> carlosrovira@apache.org
> > >
> > > > > napisał(a):
> > > > >
> > > > > Hi Piotr, Maria,
> > > > >
> > > > >
> > > > >
> > > > > I think we should have an ECharts library in Royale. In this
> > case, I
> > > > don't
> > > > > see the point for old Flex charts, and others here (like Chris
> > Dutz)
> > > > > already showed interest in it. What do you think about adding
> > your
> > > > current
> > > > > library effort to Royale? I think many others here could be
> > interested
> > > in
> > > > > contributing to it.
> > > > >
> > > > >
> > > > >
> > > > > If there's some client restrictions, I think we should plan to
> > add our
> > > > own.
> > > > >
> > > > >
> > > > >
> > > > > Thanks!
> > > > >
> > > > >
> > > > >
> > > > > Carlos
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com>) escribió:
> > > > >
> > > > > Hi Maria,
> > > > >
> > > > >
> > > > >
> > > > > I don't think that anyone put effort to emulate mx Charts.
> > What's more
> > > it
> > > > > will be difficult to mix them with Jewel, due to CSS conflicts
> -
> > it's
> > > > > probably doable, but I doubt anyone tried.
> > > > >
> > > > >
> > > > >
> > > > > In our application I didn't even consider using any Charts from
> > Royale
> > > -
> > > > > I went with usage of Apache ECharts [1] - I have finished
> > integrating
> > > it
> > > > > with our Jewel app - it's not released yet, but in terms of
> > integration
> > > > it
> > > > > wasn't too difficult. Maybe this could be your solution.
> > > > >
> > > > >
> > > > >
> > > > > [1] https://echarts.apache.org/
> > > > >
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Piotr
> > > > >
> > > > >
> > > > >
> > > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mjesteve@iest.com
> >
> > > > > napisał(a):
> > > > >
> > > > > Hello,
> > > > >
> > > > > I have to make several Charts (bar and pie) and I was looking
> at
> > the
> > > > > examples included in the SDK.
> > > > >
> > > > >
> > > > >
> > > > > I am doing tests, in my Jewel Application implementing crux,
> > with the
> > > > > Basic Chart controls but I have problems with the
> dataproviders.
> > Before
> > > > > continuing I wanted to ask you a question ... could you use the
> > mx
> > > > charts?
> > > > >
> > > > >
> > > > >
> > > > > Thank you
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *Piotr Zarzycki *
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Carlos Rovira
> > > > >
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *Piotr Zarzycki *
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > <https://www.patreon.com/piotrzarzycki>*
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Royale Echarts (was Re: Charts)
Posted by Carlos Rovira <ca...@apache.org>.
Hi Maria Jose,
if the externs path is right for now, maybe you could create a temporal
project in Github so we can take a look and try to use it.
Then it will be easier to see if we finally need royale component or just
externs are sufficient.
For me right now is difficult to choose one path or other since I'm seeing
that seems very easy to integrate, but maybe we could
need some Royale data integration, or manage sizes or any other thing that
could appear as we use it.
El mié., 29 jul. 2020 a las 17:55, Maria Jose Esteve (<mj...@iest.com>)
escribió:
> Chris,
> Do I have to mount the project in any specific way?
> My idea is, create a JSRoyale project with crux, maybe. (mvc)
>
> Do you have or do we have a repo for this?
>
> Thx.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: martes, 28 de julio de 2020 17:28
> Para: dev@royale.apache.org
> Asunto: Re: Royale Echarts (was Re: Charts)
>
> Hi folks,
>
> I agree that perhaps creating real wrappers for some of the most used
> charts and creating some documentation on how to add new ones could be a
> great thing for people wanting to get engaged in the project. Should be
> fairly simple to do this via PRs.
>
> I remember Harbs saying he had already been working on this?
>
> For my ApacheCon talk proposal "Home automation with apache" this would be
> a super awesome addition ;-)
>
> Chris
>
>
>
> Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
>
> Hi Piotr,
>
> I saw there's lots of graphs in ECharts, and trying to bring all to
> that
> library could be a huge amount of work.
> On the other hand just typedefs could be in this case not something
> that
> integrates really good with the rest of royale.
>
> Most of the time things should not be black or white, and in this case
> I
> think we should concentrate on most used graphs (Bar, Pie, Columns,
> Area,..), maybe start with just a few most used cases, and make it very
> usable in Royale.
>
> After that, others could bring more graphs. I expect the rest to be
> easily
> created by extending initial code, and just the same effort that
> creates
> the typedef stubs. Anyway, other more rare graphs can be left for now.
> We
> don't need to try to cover fully ECharts since even for typedefs could
> be
> huge work.
>
> just my 2
>
>
> El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > Hi Carlos,
> >
> > Well at some point would love to see wrappers around it, but the
> more I'm
> > thinking about it the more it is something which may not be worth
> due to
> > magnitude of work.
> >
> > There are literally hundreds of types of charts and if you wanted to
> wrap
> > up based on types or something like that you will end up in a rabbit
> hole.
> >
> > I feel like it would be better to have typedefs and let users to use
> > ECharts documentation to create whatever they want, wrap whatever
> they
> > need.
> >
> > Thanks,
> > Piotr
> >
> > wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I think charts are a very important part of UX and UI Solutions.
> It was
> > for
> > > Flex and Royale needs something actual.
> > > Emulation always can continue efforts on mx chart versions. But new
> > Royale
> > > Apps (mostly Jewel, Basic and others) will required some modern
> solution.
> > >
> > > Seems all folks here point to ECharts, so I'm planning to create a
> > library
> > > for Apache ECharts in the same way I did in the past for MDL, so
> instead
> > of
> > > just creating an @extern, it will be a Royale Component with its
> own API.
> > >
> > > Another way would be to just create @externs for ECharts, but
> since it
> > is a
> > > "component", it seems using like a UIBase inside Royale will
> benefit
> > from a
> > > better integration.
> > >
> > > In resume, seems to me what I did for MDL seems the best to apply
> here,
> > > instead something like html2pdf, that seems to me a clear input
> that
> > wants
> > > a clear output and is not something we require to integrate and
> mix well
> > > with other Royale controls and containers
> > >
> > > So what do you think about this?
> > >
> > >
> > >
> > > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<
> mjesteve@iest.com
> > >)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > Thanks Harbs.
> > > >
> > > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > > https://github.com/tomLadder/react-native-echarts-wrapper and
> some
> > > > examples from the SDK.
> > > >
> > > >
> > > >
> > > > I have implemented an echart class, another echartInstance, but
> I don't
> > > > know if it will work as I need… In principle it seems that I can
> only
> > > > create one instance of echart per document (at least that's what
> they
> > > > advise, of course) and handle each “independent graph ”With the
> > property“
> > > > group ”,…
> > > >
> > > >
> > > >
> > > > Well, I keep doing tests ... I don't know if I will succeed
> because I'm
> > > > going "blind".
> > > >
> > > > I will continue to inform you.
> > > >
> > > >
> > > >
> > > > Thx
> > > >
> > > > Hiedra
> > > >
> > > >
> > > >
> > > > *De:* Harbs <ha...@gmail.com>
> > > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > > *Para:* users@royale.apache.org
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > > >
> > > >
> > > >
> > > > Here’s a reference for other frameworks which integrated into
> echarts:
> > > > https://echarts.apache.org/en/download-extension.html#framework
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <
> mjesteve@iest.com>
> > > wrote:
> > > >
> > > >
> > > >
> > > > Piotr, where should I start? Do you recommend any integration
> guide?
> > > >
> > > > As I have commented, on some other occasion, I do not have an
> overview
> > of
> > > > how we interact with js ...
> > > >
> > > >
> > > >
> > > > Hiedra.
> > > >
> > > >
> > > >
> > > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > > *Para:* users@royale.apache.org
> > > > *Asunto:* Re: Charts
> > > >
> > > >
> > > >
> > > > Hi Carlos,
> > > >
> > > >
> > > >
> > > > I didn't create typedefs and I won't have time for that - unless
> I will
> > > > get some direct task to do that. I have simply injected library
> trough
> > > > index.html and created AS3 classes which wrap up ECharts
> library. -
> > > Anyone
> > > > can do that in their app. - I just wanted to get information out
> that -
> > > > ECharts is working nicely with Royale.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 17:18 Carlos Rovira <carlosrovira@apache.org
> >
> > > > napisał(a):
> > > >
> > > > Hi Piotr, Maria,
> > > >
> > > >
> > > >
> > > > I think we should have an ECharts library in Royale. In this
> case, I
> > > don't
> > > > see the point for old Flex charts, and others here (like Chris
> Dutz)
> > > > already showed interest in it. What do you think about adding
> your
> > > current
> > > > library effort to Royale? I think many others here could be
> interested
> > in
> > > > contributing to it.
> > > >
> > > >
> > > >
> > > > If there's some client restrictions, I think we should plan to
> add our
> > > own.
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > > Carlos
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com>) escribió:
> > > >
> > > > Hi Maria,
> > > >
> > > >
> > > >
> > > > I don't think that anyone put effort to emulate mx Charts.
> What's more
> > it
> > > > will be difficult to mix them with Jewel, due to CSS conflicts -
> it's
> > > > probably doable, but I doubt anyone tried.
> > > >
> > > >
> > > >
> > > > In our application I didn't even consider using any Charts from
> Royale
> > -
> > > > I went with usage of Apache ECharts [1] - I have finished
> integrating
> > it
> > > > with our Jewel app - it's not released yet, but in terms of
> integration
> > > it
> > > > wasn't too difficult. Maybe this could be your solution.
> > > >
> > > >
> > > >
> > > > [1] https://echarts.apache.org/
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Piotr
> > > >
> > > >
> > > >
> > > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > > napisał(a):
> > > >
> > > > Hello,
> > > >
> > > > I have to make several Charts (bar and pie) and I was looking at
> the
> > > > examples included in the SDK.
> > > >
> > > >
> > > >
> > > > I am doing tests, in my Jewel Application implementing crux,
> with the
> > > > Basic Chart controls but I have problems with the dataproviders.
> Before
> > > > continuing I wanted to ask you a question ... could you use the
> mx
> > > charts?
> > > >
> > > >
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Carlos Rovira
> > > >
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Piotr Zarzycki *
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Royale Echarts (was Re: Charts)
Posted by Maria Jose Esteve <mj...@iest.com>.
Chris,
Do I have to mount the project in any specific way?
My idea is, create a JSRoyale project with crux, maybe. (mvc)
Do you have or do we have a repo for this?
Thx.
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: martes, 28 de julio de 2020 17:28
Para: dev@royale.apache.org
Asunto: Re: Royale Echarts (was Re: Charts)
Hi folks,
I agree that perhaps creating real wrappers for some of the most used charts and creating some documentation on how to add new ones could be a great thing for people wanting to get engaged in the project. Should be fairly simple to do this via PRs.
I remember Harbs saying he had already been working on this?
For my ApacheCon talk proposal "Home automation with apache" this would be a super awesome addition ;-)
Chris
Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
Hi Piotr,
I saw there's lots of graphs in ECharts, and trying to bring all to that
library could be a huge amount of work.
On the other hand just typedefs could be in this case not something that
integrates really good with the rest of royale.
Most of the time things should not be black or white, and in this case I
think we should concentrate on most used graphs (Bar, Pie, Columns,
Area,..), maybe start with just a few most used cases, and make it very
usable in Royale.
After that, others could bring more graphs. I expect the rest to be easily
created by extending initial code, and just the same effort that creates
the typedef stubs. Anyway, other more rare graphs can be left for now. We
don't need to try to cover fully ECharts since even for typedefs could be
huge work.
just my 2
El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Carlos,
>
> Well at some point would love to see wrappers around it, but the more I'm
> thinking about it the more it is something which may not be worth due to
> magnitude of work.
>
> There are literally hundreds of types of charts and if you wanted to wrap
> up based on types or something like that you will end up in a rabbit hole.
>
> I feel like it would be better to have typedefs and let users to use
> ECharts documentation to create whatever they want, wrap whatever they
> need.
>
> Thanks,
> Piotr
>
> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I think charts are a very important part of UX and UI Solutions. It was
> for
> > Flex and Royale needs something actual.
> > Emulation always can continue efforts on mx chart versions. But new
> Royale
> > Apps (mostly Jewel, Basic and others) will required some modern solution.
> >
> > Seems all folks here point to ECharts, so I'm planning to create a
> library
> > for Apache ECharts in the same way I did in the past for MDL, so instead
> of
> > just creating an @extern, it will be a Royale Component with its own API.
> >
> > Another way would be to just create @externs for ECharts, but since it
> is a
> > "component", it seems using like a UIBase inside Royale will benefit
> from a
> > better integration.
> >
> > In resume, seems to me what I did for MDL seems the best to apply here,
> > instead something like html2pdf, that seems to me a clear input that
> wants
> > a clear output and is not something we require to integrate and mix well
> > with other Royale controls and containers
> >
> > So what do you think about this?
> >
> >
> >
> > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mjesteve@iest.com
> >)
> > escribió:
> >
> > > Hi,
> > >
> > > Thanks Harbs.
> > >
> > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > > examples from the SDK.
> > >
> > >
> > >
> > > I have implemented an echart class, another echartInstance, but I don't
> > > know if it will work as I need… In principle it seems that I can only
> > > create one instance of echart per document (at least that's what they
> > > advise, of course) and handle each “independent graph ”With the
> property“
> > > group ”,…
> > >
> > >
> > >
> > > Well, I keep doing tests ... I don't know if I will succeed because I'm
> > > going "blind".
> > >
> > > I will continue to inform you.
> > >
> > >
> > >
> > > Thx
> > >
> > > Hiedra
> > >
> > >
> > >
> > > *De:* Harbs <ha...@gmail.com>
> > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > >
> > >
> > >
> > > Here’s a reference for other frameworks which integrated into echarts:
> > > https://echarts.apache.org/en/download-extension.html#framework
> > >
> > >
> > >
> > >
> > >
> > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> > wrote:
> > >
> > >
> > >
> > > Piotr, where should I start? Do you recommend any integration guide?
> > >
> > > As I have commented, on some other occasion, I do not have an overview
> of
> > > how we interact with js ...
> > >
> > >
> > >
> > > Hiedra.
> > >
> > >
> > >
> > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > > Hi Carlos,
> > >
> > >
> > >
> > > I didn't create typedefs and I won't have time for that - unless I will
> > > get some direct task to do that. I have simply injected library trough
> > > index.html and created AS3 classes which wrap up ECharts library. -
> > Anyone
> > > can do that in their app. - I just wanted to get information out that -
> > > ECharts is working nicely with Royale.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > Hi Piotr, Maria,
> > >
> > >
> > >
> > > I think we should have an ECharts library in Royale. In this case, I
> > don't
> > > see the point for old Flex charts, and others here (like Chris Dutz)
> > > already showed interest in it. What do you think about adding your
> > current
> > > library effort to Royale? I think many others here could be interested
> in
> > > contributing to it.
> > >
> > >
> > >
> > > If there's some client restrictions, I think we should plan to add our
> > own.
> > >
> > >
> > >
> > > Thanks!
> > >
> > >
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > Hi Maria,
> > >
> > >
> > >
> > > I don't think that anyone put effort to emulate mx Charts. What's more
> it
> > > will be difficult to mix them with Jewel, due to CSS conflicts - it's
> > > probably doable, but I doubt anyone tried.
> > >
> > >
> > >
> > > In our application I didn't even consider using any Charts from Royale
> -
> > > I went with usage of Apache ECharts [1] - I have finished integrating
> it
> > > with our Jewel app - it's not released yet, but in terms of integration
> > it
> > > wasn't too difficult. Maybe this could be your solution.
> > >
> > >
> > >
> > > [1] https://echarts.apache.org/
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > napisał(a):
> > >
> > > Hello,
> > >
> > > I have to make several Charts (bar and pie) and I was looking at the
> > > examples included in the SDK.
> > >
> > >
> > >
> > > I am doing tests, in my Jewel Application implementing crux, with the
> > > Basic Chart controls but I have problems with the dataproviders. Before
> > > continuing I wanted to ask you a question ... could you use the mx
> > charts?
> > >
> > >
> > >
> > > Thank you
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Carlos Rovira
> > >
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Royale Echarts (was Re: Charts)
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi folks,
I agree that perhaps creating real wrappers for some of the most used charts and creating some documentation on how to add new ones could be a great thing for people wanting to get engaged in the project. Should be fairly simple to do this via PRs.
I remember Harbs saying he had already been working on this?
For my ApacheCon talk proposal "Home automation with apache" this would be a super awesome addition ;-)
Chris
Am 28.07.20, 15:09 schrieb "Carlos Rovira" <ca...@apache.org>:
Hi Piotr,
I saw there's lots of graphs in ECharts, and trying to bring all to that
library could be a huge amount of work.
On the other hand just typedefs could be in this case not something that
integrates really good with the rest of royale.
Most of the time things should not be black or white, and in this case I
think we should concentrate on most used graphs (Bar, Pie, Columns,
Area,..), maybe start with just a few most used cases, and make it very
usable in Royale.
After that, others could bring more graphs. I expect the rest to be easily
created by extending initial code, and just the same effort that creates
the typedef stubs. Anyway, other more rare graphs can be left for now. We
don't need to try to cover fully ECharts since even for typedefs could be
huge work.
just my 2
El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Carlos,
>
> Well at some point would love to see wrappers around it, but the more I'm
> thinking about it the more it is something which may not be worth due to
> magnitude of work.
>
> There are literally hundreds of types of charts and if you wanted to wrap
> up based on types or something like that you will end up in a rabbit hole.
>
> I feel like it would be better to have typedefs and let users to use
> ECharts documentation to create whatever they want, wrap whatever they
> need.
>
> Thanks,
> Piotr
>
> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I think charts are a very important part of UX and UI Solutions. It was
> for
> > Flex and Royale needs something actual.
> > Emulation always can continue efforts on mx chart versions. But new
> Royale
> > Apps (mostly Jewel, Basic and others) will required some modern solution.
> >
> > Seems all folks here point to ECharts, so I'm planning to create a
> library
> > for Apache ECharts in the same way I did in the past for MDL, so instead
> of
> > just creating an @extern, it will be a Royale Component with its own API.
> >
> > Another way would be to just create @externs for ECharts, but since it
> is a
> > "component", it seems using like a UIBase inside Royale will benefit
> from a
> > better integration.
> >
> > In resume, seems to me what I did for MDL seems the best to apply here,
> > instead something like html2pdf, that seems to me a clear input that
> wants
> > a clear output and is not something we require to integrate and mix well
> > with other Royale controls and containers
> >
> > So what do you think about this?
> >
> >
> >
> > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mjesteve@iest.com
> >)
> > escribió:
> >
> > > Hi,
> > >
> > > Thanks Harbs.
> > >
> > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > > examples from the SDK.
> > >
> > >
> > >
> > > I have implemented an echart class, another echartInstance, but I don't
> > > know if it will work as I need… In principle it seems that I can only
> > > create one instance of echart per document (at least that's what they
> > > advise, of course) and handle each “independent graph ”With the
> property“
> > > group ”,…
> > >
> > >
> > >
> > > Well, I keep doing tests ... I don't know if I will succeed because I'm
> > > going "blind".
> > >
> > > I will continue to inform you.
> > >
> > >
> > >
> > > Thx
> > >
> > > Hiedra
> > >
> > >
> > >
> > > *De:* Harbs <ha...@gmail.com>
> > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > >
> > >
> > >
> > > Here’s a reference for other frameworks which integrated into echarts:
> > > https://echarts.apache.org/en/download-extension.html#framework
> > >
> > >
> > >
> > >
> > >
> > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> > wrote:
> > >
> > >
> > >
> > > Piotr, where should I start? Do you recommend any integration guide?
> > >
> > > As I have commented, on some other occasion, I do not have an overview
> of
> > > how we interact with js ...
> > >
> > >
> > >
> > > Hiedra.
> > >
> > >
> > >
> > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > > Hi Carlos,
> > >
> > >
> > >
> > > I didn't create typedefs and I won't have time for that - unless I will
> > > get some direct task to do that. I have simply injected library trough
> > > index.html and created AS3 classes which wrap up ECharts library. -
> > Anyone
> > > can do that in their app. - I just wanted to get information out that -
> > > ECharts is working nicely with Royale.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > Hi Piotr, Maria,
> > >
> > >
> > >
> > > I think we should have an ECharts library in Royale. In this case, I
> > don't
> > > see the point for old Flex charts, and others here (like Chris Dutz)
> > > already showed interest in it. What do you think about adding your
> > current
> > > library effort to Royale? I think many others here could be interested
> in
> > > contributing to it.
> > >
> > >
> > >
> > > If there's some client restrictions, I think we should plan to add our
> > own.
> > >
> > >
> > >
> > > Thanks!
> > >
> > >
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > Hi Maria,
> > >
> > >
> > >
> > > I don't think that anyone put effort to emulate mx Charts. What's more
> it
> > > will be difficult to mix them with Jewel, due to CSS conflicts - it's
> > > probably doable, but I doubt anyone tried.
> > >
> > >
> > >
> > > In our application I didn't even consider using any Charts from Royale
> -
> > > I went with usage of Apache ECharts [1] - I have finished integrating
> it
> > > with our Jewel app - it's not released yet, but in terms of integration
> > it
> > > wasn't too difficult. Maybe this could be your solution.
> > >
> > >
> > >
> > > [1] https://echarts.apache.org/
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > napisał(a):
> > >
> > > Hello,
> > >
> > > I have to make several Charts (bar and pie) and I was looking at the
> > > examples included in the SDK.
> > >
> > >
> > >
> > > I am doing tests, in my Jewel Application implementing crux, with the
> > > Basic Chart controls but I have problems with the dataproviders. Before
> > > continuing I wanted to ask you a question ... could you use the mx
> > charts?
> > >
> > >
> > >
> > > Thank you
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Carlos Rovira
> > >
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Royale Echarts (was Re: Charts)
Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr,
I saw there's lots of graphs in ECharts, and trying to bring all to that
library could be a huge amount of work.
On the other hand just typedefs could be in this case not something that
integrates really good with the rest of royale.
Most of the time things should not be black or white, and in this case I
think we should concentrate on most used graphs (Bar, Pie, Columns,
Area,..), maybe start with just a few most used cases, and make it very
usable in Royale.
After that, others could bring more graphs. I expect the rest to be easily
created by extending initial code, and just the same effort that creates
the typedef stubs. Anyway, other more rare graphs can be left for now. We
don't need to try to cover fully ECharts since even for typedefs could be
huge work.
just my 2
El mar., 28 jul. 2020 a las 12:16, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Carlos,
>
> Well at some point would love to see wrappers around it, but the more I'm
> thinking about it the more it is something which may not be worth due to
> magnitude of work.
>
> There are literally hundreds of types of charts and if you wanted to wrap
> up based on types or something like that you will end up in a rabbit hole.
>
> I feel like it would be better to have typedefs and let users to use
> ECharts documentation to create whatever they want, wrap whatever they
> need.
>
> Thanks,
> Piotr
>
> wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I think charts are a very important part of UX and UI Solutions. It was
> for
> > Flex and Royale needs something actual.
> > Emulation always can continue efforts on mx chart versions. But new
> Royale
> > Apps (mostly Jewel, Basic and others) will required some modern solution.
> >
> > Seems all folks here point to ECharts, so I'm planning to create a
> library
> > for Apache ECharts in the same way I did in the past for MDL, so instead
> of
> > just creating an @extern, it will be a Royale Component with its own API.
> >
> > Another way would be to just create @externs for ECharts, but since it
> is a
> > "component", it seems using like a UIBase inside Royale will benefit
> from a
> > better integration.
> >
> > In resume, seems to me what I did for MDL seems the best to apply here,
> > instead something like html2pdf, that seems to me a clear input that
> wants
> > a clear output and is not something we require to integrate and mix well
> > with other Royale controls and containers
> >
> > So what do you think about this?
> >
> >
> >
> > El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mjesteve@iest.com
> >)
> > escribió:
> >
> > > Hi,
> > >
> > > Thanks Harbs.
> > >
> > > Yesterday I was looking at Carlos's integration with html2PDF,
> > > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > > examples from the SDK.
> > >
> > >
> > >
> > > I have implemented an echart class, another echartInstance, but I don't
> > > know if it will work as I need… In principle it seems that I can only
> > > create one instance of echart per document (at least that's what they
> > > advise, of course) and handle each “independent graph ”With the
> property“
> > > group ”,…
> > >
> > >
> > >
> > > Well, I keep doing tests ... I don't know if I will succeed because I'm
> > > going "blind".
> > >
> > > I will continue to inform you.
> > >
> > >
> > >
> > > Thx
> > >
> > > Hiedra
> > >
> > >
> > >
> > > *De:* Harbs <ha...@gmail.com>
> > > *Enviado el:* martes, 28 de julio de 2020 8:15
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > >
> > >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> > >
> > >
> > >
> > > Here’s a reference for other frameworks which integrated into echarts:
> > > https://echarts.apache.org/en/download-extension.html#framework
> > >
> > >
> > >
> > >
> > >
> > > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> > wrote:
> > >
> > >
> > >
> > > Piotr, where should I start? Do you recommend any integration guide?
> > >
> > > As I have commented, on some other occasion, I do not have an overview
> of
> > > how we interact with js ...
> > >
> > >
> > >
> > > Hiedra.
> > >
> > >
> > >
> > > *De:* Piotr Zarzycki <pi...@gmail.com>
> > > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > > *Para:* users@royale.apache.org
> > > *Asunto:* Re: Charts
> > >
> > >
> > >
> > > Hi Carlos,
> > >
> > >
> > >
> > > I didn't create typedefs and I won't have time for that - unless I will
> > > get some direct task to do that. I have simply injected library trough
> > > index.html and created AS3 classes which wrap up ECharts library. -
> > Anyone
> > > can do that in their app. - I just wanted to get information out that -
> > > ECharts is working nicely with Royale.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > Hi Piotr, Maria,
> > >
> > >
> > >
> > > I think we should have an ECharts library in Royale. In this case, I
> > don't
> > > see the point for old Flex charts, and others here (like Chris Dutz)
> > > already showed interest in it. What do you think about adding your
> > current
> > > library effort to Royale? I think many others here could be interested
> in
> > > contributing to it.
> > >
> > >
> > >
> > > If there's some client restrictions, I think we should plan to add our
> > own.
> > >
> > >
> > >
> > > Thanks!
> > >
> > >
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>) escribió:
> > >
> > > Hi Maria,
> > >
> > >
> > >
> > > I don't think that anyone put effort to emulate mx Charts. What's more
> it
> > > will be difficult to mix them with Jewel, due to CSS conflicts - it's
> > > probably doable, but I doubt anyone tried.
> > >
> > >
> > >
> > > In our application I didn't even consider using any Charts from Royale
> -
> > > I went with usage of Apache ECharts [1] - I have finished integrating
> it
> > > with our Jewel app - it's not released yet, but in terms of integration
> > it
> > > wasn't too difficult. Maybe this could be your solution.
> > >
> > >
> > >
> > > [1] https://echarts.apache.org/
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Piotr
> > >
> > >
> > >
> > > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > > napisał(a):
> > >
> > > Hello,
> > >
> > > I have to make several Charts (bar and pie) and I was looking at the
> > > examples included in the SDK.
> > >
> > >
> > >
> > > I am doing tests, in my Jewel Application implementing crux, with the
> > > Basic Chart controls but I have problems with the dataproviders. Before
> > > continuing I wanted to ask you a question ... could you use the mx
> > charts?
> > >
> > >
> > >
> > > Thank you
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Carlos Rovira
> > >
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > *Piotr Zarzycki *
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Royale Echarts (was Re: Charts)
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Carlos,
Well at some point would love to see wrappers around it, but the more I'm
thinking about it the more it is something which may not be worth due to
magnitude of work.
There are literally hundreds of types of charts and if you wanted to wrap
up based on types or something like that you will end up in a rabbit hole.
I feel like it would be better to have typedefs and let users to use
ECharts documentation to create whatever they want, wrap whatever they
need.
Thanks,
Piotr
wt., 28 lip 2020 o 11:53 Carlos Rovira <ca...@apache.org> napisał(a):
> Hi,
>
> I think charts are a very important part of UX and UI Solutions. It was for
> Flex and Royale needs something actual.
> Emulation always can continue efforts on mx chart versions. But new Royale
> Apps (mostly Jewel, Basic and others) will required some modern solution.
>
> Seems all folks here point to ECharts, so I'm planning to create a library
> for Apache ECharts in the same way I did in the past for MDL, so instead of
> just creating an @extern, it will be a Royale Component with its own API.
>
> Another way would be to just create @externs for ECharts, but since it is a
> "component", it seems using like a UIBase inside Royale will benefit from a
> better integration.
>
> In resume, seems to me what I did for MDL seems the best to apply here,
> instead something like html2pdf, that seems to me a clear input that wants
> a clear output and is not something we require to integrate and mix well
> with other Royale controls and containers
>
> So what do you think about this?
>
>
>
> El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mj...@iest.com>)
> escribió:
>
> > Hi,
> >
> > Thanks Harbs.
> >
> > Yesterday I was looking at Carlos's integration with html2PDF,
> > https://github.com/tomLadder/react-native-echarts-wrapper and some
> > examples from the SDK.
> >
> >
> >
> > I have implemented an echart class, another echartInstance, but I don't
> > know if it will work as I need… In principle it seems that I can only
> > create one instance of echart per document (at least that's what they
> > advise, of course) and handle each “independent graph ”With the property“
> > group ”,…
> >
> >
> >
> > Well, I keep doing tests ... I don't know if I will succeed because I'm
> > going "blind".
> >
> > I will continue to inform you.
> >
> >
> >
> > Thx
> >
> > Hiedra
> >
> >
> >
> > *De:* Harbs <ha...@gmail.com>
> > *Enviado el:* martes, 28 de julio de 2020 8:15
> > *Para:* users@royale.apache.org
> > *Asunto:* Re: Charts
> >
> >
> >
> >
> >
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
> >
> >
> >
> > Here’s a reference for other frameworks which integrated into echarts:
> > https://echarts.apache.org/en/download-extension.html#framework
> >
> >
> >
> >
> >
> > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>
> wrote:
> >
> >
> >
> > Piotr, where should I start? Do you recommend any integration guide?
> >
> > As I have commented, on some other occasion, I do not have an overview of
> > how we interact with js ...
> >
> >
> >
> > Hiedra.
> >
> >
> >
> > *De:* Piotr Zarzycki <pi...@gmail.com>
> > *Enviado el:* lunes, 27 de julio de 2020 17:31
> > *Para:* users@royale.apache.org
> > *Asunto:* Re: Charts
> >
> >
> >
> > Hi Carlos,
> >
> >
> >
> > I didn't create typedefs and I won't have time for that - unless I will
> > get some direct task to do that. I have simply injected library trough
> > index.html and created AS3 classes which wrap up ECharts library. -
> Anyone
> > can do that in their app. - I just wanted to get information out that -
> > ECharts is working nicely with Royale.
> >
> >
> >
> > Thanks,
> >
> > Piotr
> >
> >
> >
> >
> >
> >
> >
> > pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > Hi Piotr, Maria,
> >
> >
> >
> > I think we should have an ECharts library in Royale. In this case, I
> don't
> > see the point for old Flex charts, and others here (like Chris Dutz)
> > already showed interest in it. What do you think about adding your
> current
> > library effort to Royale? I think many others here could be interested in
> > contributing to it.
> >
> >
> >
> > If there's some client restrictions, I think we should plan to add our
> own.
> >
> >
> >
> > Thanks!
> >
> >
> >
> > Carlos
> >
> >
> >
> >
> >
> >
> >
> > El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>) escribió:
> >
> > Hi Maria,
> >
> >
> >
> > I don't think that anyone put effort to emulate mx Charts. What's more it
> > will be difficult to mix them with Jewel, due to CSS conflicts - it's
> > probably doable, but I doubt anyone tried.
> >
> >
> >
> > In our application I didn't even consider using any Charts from Royale -
> > I went with usage of Apache ECharts [1] - I have finished integrating it
> > with our Jewel app - it's not released yet, but in terms of integration
> it
> > wasn't too difficult. Maybe this could be your solution.
> >
> >
> >
> > [1] https://echarts.apache.org/
> >
> >
> >
> > Thanks,
> >
> > Piotr
> >
> >
> >
> > pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> > napisał(a):
> >
> > Hello,
> >
> > I have to make several Charts (bar and pie) and I was looking at the
> > examples included in the SDK.
> >
> >
> >
> > I am doing tests, in my Jewel Application implementing crux, with the
> > Basic Chart controls but I have problems with the dataproviders. Before
> > continuing I wanted to ask you a question ... could you use the mx
> charts?
> >
> >
> >
> > Thank you
> >
> >
> >
> >
> > --
> >
> > *Piotr Zarzycki *
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
> >
> >
> >
> > --
> >
> > Carlos Rovira
> >
> > http://about.me/carlosrovira
> >
> >
> >
> >
> >
> >
> > --
> >
> > *Piotr Zarzycki *
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
> >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Royale Echarts (was Re: Charts)
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
I think charts are a very important part of UX and UI Solutions. It was for
Flex and Royale needs something actual.
Emulation always can continue efforts on mx chart versions. But new Royale
Apps (mostly Jewel, Basic and others) will required some modern solution.
Seems all folks here point to ECharts, so I'm planning to create a library
for Apache ECharts in the same way I did in the past for MDL, so instead of
just creating an @extern, it will be a Royale Component with its own API.
Another way would be to just create @externs for ECharts, but since it is a
"component", it seems using like a UIBase inside Royale will benefit from a
better integration.
In resume, seems to me what I did for MDL seems the best to apply here,
instead something like html2pdf, that seems to me a clear input that wants
a clear output and is not something we require to integrate and mix well
with other Royale controls and containers
So what do you think about this?
El mar., 28 jul. 2020 a las 9:04, Maria Jose Esteve (<mj...@iest.com>)
escribió:
> Hi,
>
> Thanks Harbs.
>
> Yesterday I was looking at Carlos's integration with html2PDF,
> https://github.com/tomLadder/react-native-echarts-wrapper and some
> examples from the SDK.
>
>
>
> I have implemented an echart class, another echartInstance, but I don't
> know if it will work as I need… In principle it seems that I can only
> create one instance of echart per document (at least that's what they
> advise, of course) and handle each “independent graph ”With the property“
> group ”,…
>
>
>
> Well, I keep doing tests ... I don't know if I will succeed because I'm
> going "blind".
>
> I will continue to inform you.
>
>
>
> Thx
>
> Hiedra
>
>
>
> *De:* Harbs <ha...@gmail.com>
> *Enviado el:* martes, 28 de julio de 2020 8:15
> *Para:* users@royale.apache.org
> *Asunto:* Re: Charts
>
>
>
>
> https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
>
>
>
> Here’s a reference for other frameworks which integrated into echarts:
> https://echarts.apache.org/en/download-extension.html#framework
>
>
>
>
>
> On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com> wrote:
>
>
>
> Piotr, where should I start? Do you recommend any integration guide?
>
> As I have commented, on some other occasion, I do not have an overview of
> how we interact with js ...
>
>
>
> Hiedra.
>
>
>
> *De:* Piotr Zarzycki <pi...@gmail.com>
> *Enviado el:* lunes, 27 de julio de 2020 17:31
> *Para:* users@royale.apache.org
> *Asunto:* Re: Charts
>
>
>
> Hi Carlos,
>
>
>
> I didn't create typedefs and I won't have time for that - unless I will
> get some direct task to do that. I have simply injected library trough
> index.html and created AS3 classes which wrap up ECharts library. - Anyone
> can do that in their app. - I just wanted to get information out that -
> ECharts is working nicely with Royale.
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
>
>
> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> Hi Piotr, Maria,
>
>
>
> I think we should have an ECharts library in Royale. In this case, I don't
> see the point for old Flex charts, and others here (like Chris Dutz)
> already showed interest in it. What do you think about adding your current
> library effort to Royale? I think many others here could be interested in
> contributing to it.
>
>
>
> If there's some client restrictions, I think we should plan to add our own.
>
>
>
> Thanks!
>
>
>
> Carlos
>
>
>
>
>
>
>
> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> Hi Maria,
>
>
>
> I don't think that anyone put effort to emulate mx Charts. What's more it
> will be difficult to mix them with Jewel, due to CSS conflicts - it's
> probably doable, but I doubt anyone tried.
>
>
>
> In our application I didn't even consider using any Charts from Royale -
> I went with usage of Apache ECharts [1] - I have finished integrating it
> with our Jewel app - it's not released yet, but in terms of integration it
> wasn't too difficult. Maybe this could be your solution.
>
>
>
> [1] https://echarts.apache.org/
>
>
>
> Thanks,
>
> Piotr
>
>
>
> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
>
> Hello,
>
> I have to make several Charts (bar and pie) and I was looking at the
> examples included in the SDK.
>
>
>
> I am doing tests, in my Jewel Application implementing crux, with the
> Basic Chart controls but I have problems with the dataproviders. Before
> continuing I wanted to ask you a question ... could you use the mx charts?
>
>
>
> Thank you
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Charts
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi,
Thanks Harbs.
Yesterday I was looking at Carlos's integration with html2PDF, https://github.com/tomLadder/react-native-echarts-wrapper and some examples from the SDK.
I have implemented an echart class, another echartInstance, but I don't know if it will work as I need… In principle it seems that I can only create one instance of echart per document (at least that's what they advise, of course) and handle each “independent graph ”With the property“ group ”,…
Well, I keep doing tests ... I don't know if I will succeed because I'm going "blind".
I will continue to inform you.
Thx
Hiedra
De: Harbs <ha...@gmail.com>
Enviado el: martes, 28 de julio de 2020 8:15
Para: users@royale.apache.org
Asunto: Re: Charts
https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
Here’s a reference for other frameworks which integrated into echarts: https://echarts.apache.org/en/download-extension.html#framework
On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com>> wrote:
Piotr, where should I start? Do you recommend any integration guide?
As I have commented, on some other occasion, I do not have an overview of how we interact with js ...
Hiedra.
De: Piotr Zarzycki <pi...@gmail.com>>
Enviado el: lunes, 27 de julio de 2020 17:31
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: Re: Charts
Hi Carlos,
I didn't create typedefs and I won't have time for that - unless I will get some direct task to do that. I have simply injected library trough index.html and created AS3 classes which wrap up ECharts library. - Anyone can do that in their app. - I just wanted to get information out that - ECharts is working nicely with Royale.
Thanks,
Piotr
pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>> napisał(a):
Hi Piotr, Maria,
I think we should have an ECharts library in Royale. In this case, I don't see the point for old Flex charts, and others here (like Chris Dutz) already showed interest in it. What do you think about adding your current library effort to Royale? I think many others here could be interested in contributing to it.
If there's some client restrictions, I think we should plan to add our own.
Thanks!
Carlos
El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<pi...@gmail.com>>) escribió:
Hi Maria,
I don't think that anyone put effort to emulate mx Charts. What's more it will be difficult to mix them with Jewel, due to CSS conflicts - it's probably doable, but I doubt anyone tried.
In our application I didn't even consider using any Charts from Royale - I went with usage of Apache ECharts [1] - I have finished integrating it with our Jewel app - it's not released yet, but in terms of integration it wasn't too difficult. Maybe this could be your solution.
[1] https://echarts.apache.org/
Thanks,
Piotr
pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>> napisał(a):
Hello,
I have to make several Charts (bar and pie) and I was looking at the examples included in the SDK.
I am doing tests, in my Jewel Application implementing crux, with the Basic Chart controls but I have problems with the dataproviders. Before continuing I wanted to ask you a question ... could you use the mx charts?
Thank you
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
--
Carlos Rovira
http://about.me/carlosrovira
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
Re: Charts
Posted by Harbs <ha...@gmail.com>.
https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
Here’s a reference for other frameworks which integrated into echarts: https://echarts.apache.org/en/download-extension.html#framework
> On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve <mj...@iest.com> wrote:
>
> Piotr, where should I start? Do you recommend any integration guide?
> As I have commented, on some other occasion, I do not have an overview of how we interact with js ...
>
> Hiedra.
>
> De: Piotr Zarzycki <pi...@gmail.com>
> Enviado el: lunes, 27 de julio de 2020 17:31
> Para: users@royale.apache.org
> Asunto: Re: Charts
>
> Hi Carlos,
>
> I didn't create typedefs and I won't have time for that - unless I will get some direct task to do that. I have simply injected library trough index.html and created AS3 classes which wrap up ECharts library. - Anyone can do that in their app. - I just wanted to get information out that - ECharts is working nicely with Royale.
>
> Thanks,
> Piotr
>
>
>
> pon., 27 lip 2020 o 17:18 Carlos Rovira <carlosrovira@apache.org <ma...@apache.org>> napisał(a):
> Hi Piotr, Maria,
>
> I think we should have an ECharts library in Royale. In this case, I don't see the point for old Flex charts, and others here (like Chris Dutz) already showed interest in it. What do you think about adding your current library effort to Royale? I think many others here could be interested in contributing to it.
>
> If there's some client restrictions, I think we should plan to add our own.
>
> Thanks!
>
> Carlos
>
>
>
> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<piotrzarzycki21@gmail.com <ma...@gmail.com>>) escribió:
> Hi Maria,
>
> I don't think that anyone put effort to emulate mx Charts. What's more it will be difficult to mix them with Jewel, due to CSS conflicts - it's probably doable, but I doubt anyone tried.
>
> In our application I didn't even consider using any Charts from Royale - I went with usage of Apache ECharts [1] - I have finished integrating it with our Jewel app - it's not released yet, but in terms of integration it wasn't too difficult. Maybe this could be your solution.
>
> [1] https://echarts.apache.org/ <https://echarts.apache.org/>
>
> Thanks,
> Piotr
>
> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mjesteve@iest.com <ma...@iest.com>> napisał(a):
> Hello,
> I have to make several Charts (bar and pie) and I was looking at the examples included in the SDK.
>
> I am doing tests, in my Jewel Application implementing crux, with the Basic Chart controls but I have problems with the dataproviders. Before continuing I wanted to ask you a question ... could you use the mx charts?
>
> Thank you
>
>
> --
> Piotr Zarzycki
>
> Patreon: https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira <http://about.me/carlosrovira>
>
>
>
> --
> Piotr Zarzycki
>
> Patreon: https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>
RE: Charts
Posted by Maria Jose Esteve <mj...@iest.com>.
Piotr, where should I start? Do you recommend any integration guide?
As I have commented, on some other occasion, I do not have an overview of how we interact with js ...
Hiedra.
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: lunes, 27 de julio de 2020 17:31
Para: users@royale.apache.org
Asunto: Re: Charts
Hi Carlos,
I didn't create typedefs and I won't have time for that - unless I will get some direct task to do that. I have simply injected library trough index.html and created AS3 classes which wrap up ECharts library. - Anyone can do that in their app. - I just wanted to get information out that - ECharts is working nicely with Royale.
Thanks,
Piotr
pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>> napisał(a):
Hi Piotr, Maria,
I think we should have an ECharts library in Royale. In this case, I don't see the point for old Flex charts, and others here (like Chris Dutz) already showed interest in it. What do you think about adding your current library effort to Royale? I think many others here could be interested in contributing to it.
If there's some client restrictions, I think we should plan to add our own.
Thanks!
Carlos
El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<pi...@gmail.com>>) escribió:
Hi Maria,
I don't think that anyone put effort to emulate mx Charts. What's more it will be difficult to mix them with Jewel, due to CSS conflicts - it's probably doable, but I doubt anyone tried.
In our application I didn't even consider using any Charts from Royale - I went with usage of Apache ECharts [1] - I have finished integrating it with our Jewel app - it's not released yet, but in terms of integration it wasn't too difficult. Maybe this could be your solution.
[1] https://echarts.apache.org/
Thanks,
Piotr
pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>> napisał(a):
Hello,
I have to make several Charts (bar and pie) and I was looking at the examples included in the SDK.
I am doing tests, in my Jewel Application implementing crux, with the Basic Chart controls but I have problems with the dataproviders. Before continuing I wanted to ask you a question ... could you use the mx charts?
Thank you
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
--
Carlos Rovira
http://about.me/carlosrovira
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
Re: Charts
Posted by Carlos Rovira <ca...@apache.org>.
ok Piotr, thanks!
El lun., 27 jul. 2020 a las 17:31, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Carlos,
>
> I didn't create typedefs and I won't have time for that - unless I will
> get some direct task to do that. I have simply injected library trough
> index.html and created AS3 classes which wrap up ECharts library. - Anyone
> can do that in their app. - I just wanted to get information out that -
> ECharts is working nicely with Royale.
>
> Thanks,
> Piotr
>
>
>
> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
>> Hi Piotr, Maria,
>>
>> I think we should have an ECharts library in Royale. In this case, I
>> don't see the point for old Flex charts, and others here (like Chris Dutz)
>> already showed interest in it. What do you think about adding your current
>> library effort to Royale? I think many others here could be interested in
>> contributing to it.
>>
>> If there's some client restrictions, I think we should plan to add our
>> own.
>>
>> Thanks!
>>
>> Carlos
>>
>>
>>
>> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
>> piotrzarzycki21@gmail.com>) escribió:
>>
>>> Hi Maria,
>>>
>>> I don't think that anyone put effort to emulate mx Charts. What's more
>>> it will be difficult to mix them with Jewel, due to CSS conflicts - it's
>>> probably doable, but I doubt anyone tried.
>>>
>>> In our application I didn't even consider using any Charts from Royale
>>> - I went with usage of Apache ECharts [1] - I have finished integrating it
>>> with our Jewel app - it's not released yet, but in terms of integration it
>>> wasn't too difficult. Maybe this could be your solution.
>>>
>>> [1] https://echarts.apache.org/
>>>
>>> Thanks,
>>> Piotr
>>>
>>> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
>>> napisał(a):
>>>
>>>> Hello,
>>>>
>>>> I have to make several Charts (bar and pie) and I was looking at the
>>>> examples included in the SDK.
>>>>
>>>>
>>>>
>>>> I am doing tests, in my Jewel Application implementing crux, with the
>>>> Basic Chart controls but I have problems with the dataproviders. Before
>>>> continuing I wanted to ask you a question ... could you use the mx charts?
>>>>
>>>>
>>>>
>>>> Thank you
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
RE: Charts
Posted by Maria Jose Esteve <mj...@iest.com>.
It is clear that I must sleep more.
Thanks Carlos.
I will comment on the progress.
Hiedra
De: Carlos Rovira <ca...@apache.org>
Enviado el: miércoles, 17 de febrero de 2021 11:37
Para: users@royale.apache.org
Asunto: Re: Charts
Hi MJ,
I think is this link: https://www.npmjs.com/package/dts2as
El mié, 17 feb 2021 a las 11:20, Maria Jose Esteve (<mj...@iest.com>>) escribió:
Hi,
that was my first choice but I didn't find any utility that generates as3 from TypeScript, I've just found the opposite "from as3 to TypeScript" ... I'll look again. If Josh had something and could share it, it would be nice.
Thanks Carlos, I'm still here.
Hiedra
De: Carlos Rovira <ca...@apache.org>>
Enviado el: miércoles, 17 de febrero de 2021 10:20
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: Re: Charts
Hi Maria Jose
I think there are some projects out there that allow generate as3 from typescript (one by Josh Tynjala), but I didn't use it so can't say much more. If you can generate an @extern library from that would be great.
El mar, 16 feb 2021 a las 19:58, Maria Jose Esteve (<mj...@iest.com>>) escribió:
Hi,
@Piotr, @Carlos, I have the ECharts typedefs in TypeScript, could we create an assembly that we can use directly in Royale?
Could I try to create it?
Hiedra
De: Piotr Zarzycki <pi...@gmail.com>>
Enviado el: lunes, 27 de julio de 2020 17:31
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: Re: Charts
Hi Carlos,
I didn't create typedefs and I won't have time for that - unless I will get some direct task to do that. I have simply injected library trough index.html and created AS3 classes which wrap up ECharts library. - Anyone can do that in their app. - I just wanted to get information out that - ECharts is working nicely with Royale.
Thanks,
Piotr
pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>> napisał(a):
Hi Piotr, Maria,
I think we should have an ECharts library in Royale. In this case, I don't see the point for old Flex charts, and others here (like Chris Dutz) already showed interest in it. What do you think about adding your current library effort to Royale? I think many others here could be interested in contributing to it.
If there's some client restrictions, I think we should plan to add our own.
Thanks!
Carlos
El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<pi...@gmail.com>>) escribió:
Hi Maria,
I don't think that anyone put effort to emulate mx Charts. What's more it will be difficult to mix them with Jewel, due to CSS conflicts - it's probably doable, but I doubt anyone tried.
In our application I didn't even consider using any Charts from Royale - I went with usage of Apache ECharts [1] - I have finished integrating it with our Jewel app - it's not released yet, but in terms of integration it wasn't too difficult. Maybe this could be your solution.
[1] https://echarts.apache.org/
Thanks,
Piotr
pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>> napisał(a):
Hello,
I have to make several Charts (bar and pie) and I was looking at the examples included in the SDK.
I am doing tests, in my Jewel Application implementing crux, with the Basic Chart controls but I have problems with the dataproviders. Before continuing I wanted to ask you a question ... could you use the mx charts?
Thank you
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
--
Carlos Rovira
http://about.me/carlosrovira
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
--
Carlos Rovira
Apache Member & Apache Royale PMC
Apache Software Foundation
http://about.me/carlosrovira
--
Carlos Rovira
Apache Member & Apache Royale PMC
Apache Software Foundation
http://about.me/carlosrovira
Re: Charts
Posted by Carlos Rovira <ca...@apache.org>.
Hi MJ,
I think is this link: https://www.npmjs.com/package/dts2as
El mié, 17 feb 2021 a las 11:20, Maria Jose Esteve (<mj...@iest.com>)
escribió:
> Hi,
>
> that was my first choice but I didn't find any utility that generates as3
> from TypeScript, I've just found the opposite "from as3 to TypeScript" ...
> I'll look again. If Josh had something and could share it, it would be nice.
>
>
>
> Thanks Carlos, I'm still here.
>
>
>
> Hiedra
>
>
>
> *De:* Carlos Rovira <ca...@apache.org>
> *Enviado el:* miércoles, 17 de febrero de 2021 10:20
> *Para:* users@royale.apache.org
> *Asunto:* Re: Charts
>
>
>
> Hi Maria Jose
>
>
>
> I think there are some projects out there that allow generate as3 from
> typescript (one by Josh Tynjala), but I didn't use it so can't say much
> more. If you can generate an @extern library from that would be great.
>
>
>
>
>
>
>
> El mar, 16 feb 2021 a las 19:58, Maria Jose Esteve (<mj...@iest.com>)
> escribió:
>
> Hi,
>
> @Piotr, @Carlos, I have the ECharts typedefs in TypeScript, could we
> create an assembly that we can use directly in Royale?
>
> Could I try to create it?
>
>
>
> Hiedra
>
>
>
> *De:* Piotr Zarzycki <pi...@gmail.com>
> *Enviado el:* lunes, 27 de julio de 2020 17:31
> *Para:* users@royale.apache.org
> *Asunto:* Re: Charts
>
>
>
> Hi Carlos,
>
>
>
> I didn't create typedefs and I won't have time for that - unless I will
> get some direct task to do that. I have simply injected library trough
> index.html and created AS3 classes which wrap up ECharts library. - Anyone
> can do that in their app. - I just wanted to get information out that -
> ECharts is working nicely with Royale.
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
>
>
> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> Hi Piotr, Maria,
>
>
>
> I think we should have an ECharts library in Royale. In this case, I don't
> see the point for old Flex charts, and others here (like Chris Dutz)
> already showed interest in it. What do you think about adding your current
> library effort to Royale? I think many others here could be interested in
> contributing to it.
>
>
>
> If there's some client restrictions, I think we should plan to add our own.
>
>
>
> Thanks!
>
>
>
> Carlos
>
>
>
>
>
>
>
> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> Hi Maria,
>
>
>
> I don't think that anyone put effort to emulate mx Charts. What's more it
> will be difficult to mix them with Jewel, due to CSS conflicts - it's
> probably doable, but I doubt anyone tried.
>
>
>
> In our application I didn't even consider using any Charts from Royale -
> I went with usage of Apache ECharts [1] - I have finished integrating it
> with our Jewel app - it's not released yet, but in terms of integration it
> wasn't too difficult. Maybe this could be your solution.
>
>
>
> [1] https://echarts.apache.org/
>
>
>
> Thanks,
>
> Piotr
>
>
>
> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
>
> Hello,
>
> I have to make several Charts (bar and pie) and I was looking at the
> examples included in the SDK.
>
>
>
> I am doing tests, in my Jewel Application implementing crux, with the
> Basic Chart controls but I have problems with the dataproviders. Before
> continuing I wanted to ask you a question ... could you use the mx charts?
>
>
>
> Thank you
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
> --
>
> Carlos Rovira
>
> Apache Member & Apache Royale PMC
>
> *Apache Software Foundation*
>
> http://about.me/carlosrovira
>
>
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
RE: Charts
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi,
that was my first choice but I didn't find any utility that generates as3 from TypeScript, I've just found the opposite "from as3 to TypeScript" ... I'll look again. If Josh had something and could share it, it would be nice.
Thanks Carlos, I'm still here.
Hiedra
De: Carlos Rovira <ca...@apache.org>
Enviado el: miércoles, 17 de febrero de 2021 10:20
Para: users@royale.apache.org
Asunto: Re: Charts
Hi Maria Jose
I think there are some projects out there that allow generate as3 from typescript (one by Josh Tynjala), but I didn't use it so can't say much more. If you can generate an @extern library from that would be great.
El mar, 16 feb 2021 a las 19:58, Maria Jose Esteve (<mj...@iest.com>>) escribió:
Hi,
@Piotr, @Carlos, I have the ECharts typedefs in TypeScript, could we create an assembly that we can use directly in Royale?
Could I try to create it?
Hiedra
De: Piotr Zarzycki <pi...@gmail.com>>
Enviado el: lunes, 27 de julio de 2020 17:31
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: Re: Charts
Hi Carlos,
I didn't create typedefs and I won't have time for that - unless I will get some direct task to do that. I have simply injected library trough index.html and created AS3 classes which wrap up ECharts library. - Anyone can do that in their app. - I just wanted to get information out that - ECharts is working nicely with Royale.
Thanks,
Piotr
pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>> napisał(a):
Hi Piotr, Maria,
I think we should have an ECharts library in Royale. In this case, I don't see the point for old Flex charts, and others here (like Chris Dutz) already showed interest in it. What do you think about adding your current library effort to Royale? I think many others here could be interested in contributing to it.
If there's some client restrictions, I think we should plan to add our own.
Thanks!
Carlos
El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<pi...@gmail.com>>) escribió:
Hi Maria,
I don't think that anyone put effort to emulate mx Charts. What's more it will be difficult to mix them with Jewel, due to CSS conflicts - it's probably doable, but I doubt anyone tried.
In our application I didn't even consider using any Charts from Royale - I went with usage of Apache ECharts [1] - I have finished integrating it with our Jewel app - it's not released yet, but in terms of integration it wasn't too difficult. Maybe this could be your solution.
[1] https://echarts.apache.org/
Thanks,
Piotr
pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>> napisał(a):
Hello,
I have to make several Charts (bar and pie) and I was looking at the examples included in the SDK.
I am doing tests, in my Jewel Application implementing crux, with the Basic Chart controls but I have problems with the dataproviders. Before continuing I wanted to ask you a question ... could you use the mx charts?
Thank you
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
--
Carlos Rovira
http://about.me/carlosrovira
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
--
Carlos Rovira
Apache Member & Apache Royale PMC
Apache Software Foundation
http://about.me/carlosrovira
Re: Charts
Posted by Carlos Rovira <ca...@apache.org>.
Hi Maria Jose
I think there are some projects out there that allow generate as3 from
typescript (one by Josh Tynjala), but I didn't use it so can't say much
more. If you can generate an @extern library from that would be great.
El mar, 16 feb 2021 a las 19:58, Maria Jose Esteve (<mj...@iest.com>)
escribió:
> Hi,
>
> @Piotr, @Carlos, I have the ECharts typedefs in TypeScript, could we
> create an assembly that we can use directly in Royale?
>
> Could I try to create it?
>
>
>
> Hiedra
>
>
>
> *De:* Piotr Zarzycki <pi...@gmail.com>
> *Enviado el:* lunes, 27 de julio de 2020 17:31
> *Para:* users@royale.apache.org
> *Asunto:* Re: Charts
>
>
>
> Hi Carlos,
>
>
>
> I didn't create typedefs and I won't have time for that - unless I will
> get some direct task to do that. I have simply injected library trough
> index.html and created AS3 classes which wrap up ECharts library. - Anyone
> can do that in their app. - I just wanted to get information out that -
> ECharts is working nicely with Royale.
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
>
>
> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> Hi Piotr, Maria,
>
>
>
> I think we should have an ECharts library in Royale. In this case, I don't
> see the point for old Flex charts, and others here (like Chris Dutz)
> already showed interest in it. What do you think about adding your current
> library effort to Royale? I think many others here could be interested in
> contributing to it.
>
>
>
> If there's some client restrictions, I think we should plan to add our own.
>
>
>
> Thanks!
>
>
>
> Carlos
>
>
>
>
>
>
>
> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> Hi Maria,
>
>
>
> I don't think that anyone put effort to emulate mx Charts. What's more it
> will be difficult to mix them with Jewel, due to CSS conflicts - it's
> probably doable, but I doubt anyone tried.
>
>
>
> In our application I didn't even consider using any Charts from Royale -
> I went with usage of Apache ECharts [1] - I have finished integrating it
> with our Jewel app - it's not released yet, but in terms of integration it
> wasn't too difficult. Maybe this could be your solution.
>
>
>
> [1] https://echarts.apache.org/
>
>
>
> Thanks,
>
> Piotr
>
>
>
> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
>
> Hello,
>
> I have to make several Charts (bar and pie) and I was looking at the
> examples included in the SDK.
>
>
>
> I am doing tests, in my Jewel Application implementing crux, with the
> Basic Chart controls but I have problems with the dataproviders. Before
> continuing I wanted to ask you a question ... could you use the mx charts?
>
>
>
> Thank you
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
> --
>
> Carlos Rovira
>
> http://about.me/carlosrovira
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
RE: Charts
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi,
@Piotr, @Carlos, I have the ECharts typedefs in TypeScript, could we create an assembly that we can use directly in Royale?
Could I try to create it?
Hiedra
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: lunes, 27 de julio de 2020 17:31
Para: users@royale.apache.org
Asunto: Re: Charts
Hi Carlos,
I didn't create typedefs and I won't have time for that - unless I will get some direct task to do that. I have simply injected library trough index.html and created AS3 classes which wrap up ECharts library. - Anyone can do that in their app. - I just wanted to get information out that - ECharts is working nicely with Royale.
Thanks,
Piotr
pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>> napisał(a):
Hi Piotr, Maria,
I think we should have an ECharts library in Royale. In this case, I don't see the point for old Flex charts, and others here (like Chris Dutz) already showed interest in it. What do you think about adding your current library effort to Royale? I think many others here could be interested in contributing to it.
If there's some client restrictions, I think we should plan to add our own.
Thanks!
Carlos
El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<pi...@gmail.com>>) escribió:
Hi Maria,
I don't think that anyone put effort to emulate mx Charts. What's more it will be difficult to mix them with Jewel, due to CSS conflicts - it's probably doable, but I doubt anyone tried.
In our application I didn't even consider using any Charts from Royale - I went with usage of Apache ECharts [1] - I have finished integrating it with our Jewel app - it's not released yet, but in terms of integration it wasn't too difficult. Maybe this could be your solution.
[1] https://echarts.apache.org/
Thanks,
Piotr
pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>> napisał(a):
Hello,
I have to make several Charts (bar and pie) and I was looking at the examples included in the SDK.
I am doing tests, in my Jewel Application implementing crux, with the Basic Chart controls but I have problems with the dataproviders. Before continuing I wanted to ask you a question ... could you use the mx charts?
Thank you
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
--
Carlos Rovira
http://about.me/carlosrovira
--
Piotr Zarzycki
Patreon: https://www.patreon.com/piotrzarzycki
Re: Charts
Posted by Alina Kazi <al...@apache.org>.
Hi Piotr,
Can you share a simple example with us. For the integration of ECharts with
Royale.
Thanks,
Alina Kazi
On Mon, Jul 27, 2020 at 8:31 PM Piotr Zarzycki <pi...@gmail.com>
wrote:
> Hi Carlos,
>
> I didn't create typedefs and I won't have time for that - unless I will
> get some direct task to do that. I have simply injected library trough
> index.html and created AS3 classes which wrap up ECharts library. - Anyone
> can do that in their app. - I just wanted to get information out that -
> ECharts is working nicely with Royale.
>
> Thanks,
> Piotr
>
>
>
> pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
>> Hi Piotr, Maria,
>>
>> I think we should have an ECharts library in Royale. In this case, I
>> don't see the point for old Flex charts, and others here (like Chris Dutz)
>> already showed interest in it. What do you think about adding your current
>> library effort to Royale? I think many others here could be interested in
>> contributing to it.
>>
>> If there's some client restrictions, I think we should plan to add our
>> own.
>>
>> Thanks!
>>
>> Carlos
>>
>>
>>
>> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
>> piotrzarzycki21@gmail.com>) escribió:
>>
>>> Hi Maria,
>>>
>>> I don't think that anyone put effort to emulate mx Charts. What's more
>>> it will be difficult to mix them with Jewel, due to CSS conflicts - it's
>>> probably doable, but I doubt anyone tried.
>>>
>>> In our application I didn't even consider using any Charts from Royale
>>> - I went with usage of Apache ECharts [1] - I have finished integrating it
>>> with our Jewel app - it's not released yet, but in terms of integration it
>>> wasn't too difficult. Maybe this could be your solution.
>>>
>>> [1] https://echarts.apache.org/
>>>
>>> Thanks,
>>> Piotr
>>>
>>> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
>>> napisał(a):
>>>
>>>> Hello,
>>>>
>>>> I have to make several Charts (bar and pie) and I was looking at the
>>>> examples included in the SDK.
>>>>
>>>>
>>>>
>>>> I am doing tests, in my Jewel Application implementing crux, with the
>>>> Basic Chart controls but I have problems with the dataproviders. Before
>>>> continuing I wanted to ask you a question ... could you use the mx charts?
>>>>
>>>>
>>>>
>>>> Thank you
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
Re: Charts
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Carlos,
I didn't create typedefs and I won't have time for that - unless I will get
some direct task to do that. I have simply injected library trough
index.html and created AS3 classes which wrap up ECharts library. - Anyone
can do that in their app. - I just wanted to get information out that -
ECharts is working nicely with Royale.
Thanks,
Piotr
pon., 27 lip 2020 o 17:18 Carlos Rovira <ca...@apache.org>
napisał(a):
> Hi Piotr, Maria,
>
> I think we should have an ECharts library in Royale. In this case, I don't
> see the point for old Flex charts, and others here (like Chris Dutz)
> already showed interest in it. What do you think about adding your current
> library effort to Royale? I think many others here could be interested in
> contributing to it.
>
> If there's some client restrictions, I think we should plan to add our own.
>
> Thanks!
>
> Carlos
>
>
>
> El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
>> Hi Maria,
>>
>> I don't think that anyone put effort to emulate mx Charts. What's more it
>> will be difficult to mix them with Jewel, due to CSS conflicts - it's
>> probably doable, but I doubt anyone tried.
>>
>> In our application I didn't even consider using any Charts from Royale -
>> I went with usage of Apache ECharts [1] - I have finished integrating it
>> with our Jewel app - it's not released yet, but in terms of integration it
>> wasn't too difficult. Maybe this could be your solution.
>>
>> [1] https://echarts.apache.org/
>>
>> Thanks,
>> Piotr
>>
>> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
>> napisał(a):
>>
>>> Hello,
>>>
>>> I have to make several Charts (bar and pie) and I was looking at the
>>> examples included in the SDK.
>>>
>>>
>>>
>>> I am doing tests, in my Jewel Application implementing crux, with the
>>> Basic Chart controls but I have problems with the dataproviders. Before
>>> continuing I wanted to ask you a question ... could you use the mx charts?
>>>
>>>
>>>
>>> Thank you
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Charts
Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr, Maria,
I think we should have an ECharts library in Royale. In this case, I don't
see the point for old Flex charts, and others here (like Chris Dutz)
already showed interest in it. What do you think about adding your current
library effort to Royale? I think many others here could be interested in
contributing to it.
If there's some client restrictions, I think we should plan to add our own.
Thanks!
Carlos
El lun., 27 jul. 2020 a las 15:25, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Maria,
>
> I don't think that anyone put effort to emulate mx Charts. What's more it
> will be difficult to mix them with Jewel, due to CSS conflicts - it's
> probably doable, but I doubt anyone tried.
>
> In our application I didn't even consider using any Charts from Royale -
> I went with usage of Apache ECharts [1] - I have finished integrating it
> with our Jewel app - it's not released yet, but in terms of integration it
> wasn't too difficult. Maybe this could be your solution.
>
> [1] https://echarts.apache.org/
>
> Thanks,
> Piotr
>
> pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
>
>> Hello,
>>
>> I have to make several Charts (bar and pie) and I was looking at the
>> examples included in the SDK.
>>
>>
>>
>> I am doing tests, in my Jewel Application implementing crux, with the
>> Basic Chart controls but I have problems with the dataproviders. Before
>> continuing I wanted to ask you a question ... could you use the mx charts?
>>
>>
>>
>> Thank you
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Charts
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Maria,
I don't think that anyone put effort to emulate mx Charts. What's more it
will be difficult to mix them with Jewel, due to CSS conflicts - it's
probably doable, but I doubt anyone tried.
In our application I didn't even consider using any Charts from Royale - I
went with usage of Apache ECharts [1] - I have finished integrating it with
our Jewel app - it's not released yet, but in terms of integration it
wasn't too difficult. Maybe this could be your solution.
[1] https://echarts.apache.org/
Thanks,
Piotr
pon., 27 lip 2020 o 13:12 Maria Jose Esteve <mj...@iest.com> napisał(a):
> Hello,
>
> I have to make several Charts (bar and pie) and I was looking at the
> examples included in the SDK.
>
>
>
> I am doing tests, in my Jewel Application implementing crux, with the
> Basic Chart controls but I have problems with the dataproviders. Before
> continuing I wanted to ask you a question ... could you use the mx charts?
>
>
>
> Thank you
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*