-
5 Apr 2012 11:06 AM #401
Does anyone have this working with ExtJS3.4?
-
5 Apr 2012 11:11 AM #402
Yes. We have been using this adapter with ExtJS 3.4 for the past 6-7 months. For the most part, it works fine. The majority of problems we've encountered have all been related to syntax related errors and not ensuring that our numeric values provided via JSON remain un-quoted. Quoted number values will quickly (and for no apparent reason) result in unexpected errors such as erratic charts, non-rendered charts, and occasionally even un-rendered pages; all accompanied by utterly useless error messages in your preferred debugger.
-
5 Apr 2012 11:17 AM #403
-
5 Apr 2012 11:24 AM #404
Looks like we're all over the place... our Ext.ux.HighChart.js file reports 1.2.5+, but our adapter-extjs.js file reports 2.0.5... and then our highcharts.src.js file indicates v2.1.4. I'm pulling these numbers from the code header, so it could just be that some files weren't changed between versions, though I find that hard to believe. More likely somebody overlooked a header (or entire file somewhere). Oh well... it works, and I'm not interested in breaking it further until it stops.

-
5 Apr 2012 11:35 AM #405
We are currently using this with v2.1.9 of highcharts on extjs3.4
-
5 Apr 2012 11:37 AM #406
Yeah, I know what you mean. At this moment I am messing up, I want to get 2.1.9 working, I had 2.1.2 working all long. So I expect I am getting ready to run into another issue!
Ok, I've got 2.1.9 working. An FYI for anyone trying to get at least this version working.
In highcharts.src.js there is a function: hideTooltipOnMouseMove. I was getting errors there due to a non existent object. I tried fixing it in the addEvent and fireEvent handler in the adapter, but what I found was addEvent was called, but fireEvent never was event though the hideTooltipOnMouseMove handler gets executed from somewhere else.
Anyway I added the following code:
Code:if(defined(e.getPageX)) { e.pageX = e.getPageX(); } if(defined(e.getPageY)) { e.pageY = e.getPageY(); }
-
22 May 2012 3:32 AM #407
String value in scatter plot x-axis
String value in scatter plot x-axis
Is it possible to use a string value as the x-axis in a scatter plot? I want to have a chart that shows the presence of a system error over time. The x-axis will be the name of the system error and the y-axis is the unix timestamp. If the error is present, I'd like to have a point displayed, otherwise it would be blank.
What do you think?
-
24 Jul 2012 5:19 AM #408
Has anyone else got the latest version of HighCharts (2.2.5) running with EXTJS3.4?
I've managed to get it workingfor the majority of charts, but a lot of additional checking has had to be added to the highcharts source file, since a number of variables randomly don't get populated during resize, etc.
I think I'm finally at the point where I have most error cases covered, but would be interested to know if anyone else has achieved the same goal by performing similar modifications?
What seems strange though, is that I no longer need the adapter file at all?
-
8 Aug 2012 8:58 AM #409
I've had similar issues, and in the end wasn't able to get the latest version of HighCharts working with Ext 3.4 and ended up staying with HighCharts 2.1.
Can you please send me your modified HighCharts source so I can try to get it running with Ext 3.4. There are some features I would love to use. Can you send it to me in a PM or just post it here pretty please??
-
8 Aug 2012 9:06 AM #410
Hi Brookd,
Unfortunately I couldn't get it working with older versions of IE (the rendering of the charts was all over the place), so I instead started from scratch and implemented the newest version of highcharts into EXTJS manually.
This actually wasn't too complicated, as I simply create a normal panel, then create a highchart object in the panel's "afterrender" listener and render this to the parent panel. The parent panel also has a store attached to it, which on storeload, reads through the data and loads this into the chart.
It's all working pretty much perfectly, and can get an example for you to look at up on JSFiddle if that would help?


Reply With Quote


