jQWidgets Forums
Forum Replies Created
-
Author
-
May 30, 2016 at 9:45 pm in reply to: $.jqx.dataFormat.isData functionality $.jqx.dataFormat.isData functionality #84752
Okay, figured out the problem, not a jQXWidgets issue per say but will include my solution here for completeness.
My application is based on .NET MVC. By default the JsonResult returns “/Date(123495)/” as the Json date format. This started to become an issue in my application because prior the Json was being returned through SignalR which uses Newtonsoft.Json, which used the default date format of ISO 8601. The solution for my application was to swap out the default JsonResult handler to use Newtonsoft.Json as per the “JsonHandlerAttribute” suggestion in this stackoverflow post.
May 30, 2016 at 8:34 pm in reply to: $.jqx.dataFormat.isData functionality $.jqx.dataFormat.isData functionality #84751Thanks for the reply Peter.
column.CellsFormat isn’t a jqxwidgets object, it’s one internal to my app, but it has the same string values as column.cellsformat, sorry for any confusion.
Okay, I didn’t realize $.jqx.dataFormat.isDate was internal, I found it in another post about formatting data just assumed it was accessible. I’ll figure out another way to do this.
Regards,
PaulJuly 15, 2015 at 7:44 pm in reply to: Series tooltip text outside box Series tooltip text outside box #73776Awesome Ivailo that worked!
I had a strange issue where I had to refresh the page a couple time before the fix kicked in, maybe it was caching the css, not sure.
Thanks again,
PaulJuly 14, 2015 at 7:27 pm in reply to: Series tooltip text outside box Series tooltip text outside box #73716Narrowing down the problem I found that bootstrap.css defines:
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
If I disable this, box-sizing reverts to content-box instead of border-box and the chart tooltips render correctly.
I tried creating a new class with border-box set and assigning it to the toolTipClass, but it doesn’t fix the problem.
I also tried setting the class with the chart and it doesn’t fix the problem. So I’m not sure what to try next.
Any suggestion? Is it possible I missed something when setting up jQWidgets with bootstrap? I included the jqx.bootstrap.css and jqx.base.css everything else seems to be working correctly (jqx grids and everything else in charts other than tooltips).
July 14, 2015 at 3:54 pm in reply to: Series tooltip text outside box Series tooltip text outside box #73708Hi Ivailo,
Thanks for the reply. I’m going to have a look at the CSS applied, I’m sure it’s some other 3rd party css messing it up. Every example of charts I’ve seen works perfectly. I’ll post anything I find here.
Regards,
Paul -
AuthorPosts