<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Adding HighCharts as custom visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1575696#M26963</link>
    <description>&lt;P&gt;I am working on adding HighCharts custom visual. A basic example is works fine. Here is chart's definition used in visual.ts:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Highcharts.chart(optionMain.id, {

            title: {
                text: 'Solar Employment Growth by Sector, 2010-2016'
            },
        
            subtitle: {
                text: 'Source: thesolarfoundation.com'
            },
        
            yAxis: {
                title: {
                    text: 'Number of Employees'
                }
            },
            legend: {
                layout: 'vertical',
                align: 'right',
                verticalAlign: 'middle'
            },
        
            plotOptions: {
                series: {
                    label: {
                        connectorAllowed: false
                    },
                    pointStart: 2010
                }
            },
        
            series: [{
                name: 'Installation',
                data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175],
                type: undefined
            }, {
                name: 'Manufacturing',
                data: [24916, 24064, 29742, 29851, 32490, 30282, 38121, 40434],
                type: undefined
            }, {
                name: 'Sales &amp;amp; Distribution',
                data: [11744, 17722, 16005, 19771, 20185, 24377, 32147, 39387],
                type: undefined
            }, {
                name: 'Project Development',
                data: [null, null, 7988, 12169, 15112, 22452, 34400, 34227],
                type: undefined
            }, {
                name: 'Other',
                data: [12908, 5948, 8105, 11248, 8989, 11816, 18274, 18111],
                type: undefined
            }],
        
            responsive: {
                rules: [{
                    condition: {
                        maxWidth: 500
                    },
                    chartOptions: {
                        legend: {
                            layout: 'horizontal',
                            align: 'center',
                            verticalAlign: 'bottom'
                        }
                    }
                }]
            }
        
        });&lt;/LI-CODE&gt;&lt;P&gt;I am looking for making this chart working with real data. Two things should happen. Chart definition must be real. The one in this code is just a very simplistic example. Second, the data. So both parts can&amp;nbsp; vary. Not sure if this is the right way but I can provide both in a single json being read from the SQL database. It will be pretty big though. So is it possible to provide such json at the runtime?&lt;/P&gt;&lt;P&gt;What are your thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2020 00:27:14 GMT</pubDate>
    <dc:creator>Markzolotoy</dc:creator>
    <dc:date>2020-12-31T00:27:14Z</dc:date>
    <item>
      <title>Adding HighCharts as custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1575696#M26963</link>
      <description>&lt;P&gt;I am working on adding HighCharts custom visual. A basic example is works fine. Here is chart's definition used in visual.ts:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Highcharts.chart(optionMain.id, {

            title: {
                text: 'Solar Employment Growth by Sector, 2010-2016'
            },
        
            subtitle: {
                text: 'Source: thesolarfoundation.com'
            },
        
            yAxis: {
                title: {
                    text: 'Number of Employees'
                }
            },
            legend: {
                layout: 'vertical',
                align: 'right',
                verticalAlign: 'middle'
            },
        
            plotOptions: {
                series: {
                    label: {
                        connectorAllowed: false
                    },
                    pointStart: 2010
                }
            },
        
            series: [{
                name: 'Installation',
                data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175],
                type: undefined
            }, {
                name: 'Manufacturing',
                data: [24916, 24064, 29742, 29851, 32490, 30282, 38121, 40434],
                type: undefined
            }, {
                name: 'Sales &amp;amp; Distribution',
                data: [11744, 17722, 16005, 19771, 20185, 24377, 32147, 39387],
                type: undefined
            }, {
                name: 'Project Development',
                data: [null, null, 7988, 12169, 15112, 22452, 34400, 34227],
                type: undefined
            }, {
                name: 'Other',
                data: [12908, 5948, 8105, 11248, 8989, 11816, 18274, 18111],
                type: undefined
            }],
        
            responsive: {
                rules: [{
                    condition: {
                        maxWidth: 500
                    },
                    chartOptions: {
                        legend: {
                            layout: 'horizontal',
                            align: 'center',
                            verticalAlign: 'bottom'
                        }
                    }
                }]
            }
        
        });&lt;/LI-CODE&gt;&lt;P&gt;I am looking for making this chart working with real data. Two things should happen. Chart definition must be real. The one in this code is just a very simplistic example. Second, the data. So both parts can&amp;nbsp; vary. Not sure if this is the right way but I can provide both in a single json being read from the SQL database. It will be pretty big though. So is it possible to provide such json at the runtime?&lt;/P&gt;&lt;P&gt;What are your thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 00:27:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1575696#M26963</guid>
      <dc:creator>Markzolotoy</dc:creator>
      <dc:date>2020-12-31T00:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HighCharts as custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1576484#M26969</link>
      <description>&lt;P&gt;Just&amp;nbsp; to clarify. This visual is not to replace native Power BI charts meaning I don't&amp;nbsp;need fully functional interactive UI for this chart. The visual is to show specific Highcharts&amp;nbsp;chart in paginated reports. Both chart definition and data can be provided at the runtime if that is the way to go. Please provide your thoughts.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 13:31:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1576484#M26969</guid>
      <dc:creator>Markzolotoy</dc:creator>
      <dc:date>2020-12-31T13:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HighCharts as custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1578860#M26995</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/8127"&gt;@Markzolotoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Defining visualTransform will allow you to convert DataView into a view model your visual will use. IVisualHost is required because when defining individual data points, you will want to assign colors and selection to them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/microsoft/PowerBI-visuals-sampleBarChart/blob/master/Tutorial/DataBinding.md#defining-and-using-visualtransform" target="_self"&gt;https://github.com/microsoft/PowerBI-visuals-sampleBarChart/blob/master/Tutorial/DataBinding.md#defining-and-using-visualtransform&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please refer to this sample.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/PowerBI-visuals-sampleBarChart/commit/3c6e8186436b63bf0cf97d2cdd5dde8aa8d08709" target="_self"&gt;https://github.com/Microsoft/PowerBI-visuals-sampleBarChart/commit/3c6e8186436b63bf0cf97d2cdd5dde8aa8d08709&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 08:25:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1578860#M26995</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-01-04T08:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HighCharts as custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1579652#M26999</link>
      <description>&lt;P&gt;But in my case I can provide the complete chart definition at runtime with colors and everything. Another words, the users will not use this custom visual for a normal chart design. Am I toally wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 14:27:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1579652#M26999</guid>
      <dc:creator>Markzolotoy</dc:creator>
      <dc:date>2021-01-04T14:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HighCharts as custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1580769#M27014</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/8127"&gt;@Markzolotoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are talking about static custom visual, you can only store the data in JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 01:53:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1580769#M27014</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-01-05T01:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HighCharts as custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1602748#M27275</link>
      <description>&lt;P&gt;Can you please elaborate?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 20:55:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-HighCharts-as-custom-visual/m-p/1602748#M27275</guid>
      <dc:creator>Markzolotoy</dc:creator>
      <dc:date>2021-01-15T20:55:05Z</dc:date>
    </item>
  </channel>
</rss>

