<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[highcharts formatter assistance]]></title><description><![CDATA[<p>Hiya</p>
<p>Been years since I have done any front end dev, so hopefully I am just missing some simple concepts :) Trying to get my company to move across to jsreports. When using highcharts everything works well except for setting of a formatter. It being an anonymous function.</p>
<p><a href="https://playground.jsreport.net/w/jacques-atlas/6nTOHKTO" rel="nofollow">https://playground.jsreport.net/w/jacques-atlas/6nTOHKTO</a></p>
<p>Maybe my approach to create an object and then return JSON.stringify(object) is not the ideal way. In the first chart its being created in html script and that works.</p>
<p>In the second I am trying to do this in a function where I would populate everything. I create an object and then return it as a JSON string. This does not work for the formatters.</p>
<p>Anyone have any ideas or a better approach</p>
<p>Thanks</p>
]]></description><link>https://forum.jsreport.net/topic/3438/highcharts-formatter-assistance</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 11:14:30 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/3438.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Apr 2025 11:27:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to highcharts formatter assistance on Invalid Date]]></title><description><![CDATA[<p>Hiya</p>
<p>Been years since I have done any front end dev, so hopefully I am just missing some simple concepts :) Trying to get my company to move across to jsreports. When using highcharts everything works well except for setting of a formatter. It being an anonymous function.</p>
<p><a href="https://playground.jsreport.net/w/jacques-atlas/6nTOHKTO" rel="nofollow">https://playground.jsreport.net/w/jacques-atlas/6nTOHKTO</a></p>
<p>Maybe my approach to create an object and then return JSON.stringify(object) is not the ideal way. In the first chart its being created in html script and that works.</p>
<p>In the second I am trying to do this in a function where I would populate everything. I create an object and then return it as a JSON string. This does not work for the formatters.</p>
<p>Anyone have any ideas or a better approach</p>
<p>Thanks</p>
]]></description><link>https://forum.jsreport.net/post/14524</link><guid isPermaLink="true">https://forum.jsreport.net/post/14524</guid><dc:creator><![CDATA[jacques-atlas]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to highcharts formatter assistance on Invalid Date]]></title><description><![CDATA[<p><code>JSON.stringify</code> doesn't serialize functions.<br />
What is the reason for putting the highcharts definition into helpers function?<br />
Do you wan't to reuse it in multiple charts in the same template?<br />
You can put such function directly in the <code>&lt;script&gt;</code> tags.</p>
]]></description><link>https://forum.jsreport.net/post/14527</link><guid isPermaLink="true">https://forum.jsreport.net/post/14527</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to highcharts formatter assistance on Invalid Date]]></title><description><![CDATA[<p>Correct, it is being reused multiple times with different charts in the same template.</p>
]]></description><link>https://forum.jsreport.net/post/14531</link><guid isPermaLink="true">https://forum.jsreport.net/post/14531</guid><dc:creator><![CDATA[jacques-atlas]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>