mayur

Members
  • Content count

    4
  • Joined

  • Last visited

About mayur

  • Rank
    Forum Newbie
  1. I am trying to use trendLines in msstackedcolumn2dlinedy. i wanted draw trendLines on secondary axis. but it seems it is bydefault drawing trendline on primary y axis. when i remove trendlines, max primary y axis value is 90. but when i add trendline, max primary y axis value shoots to 7k. That does mean in below case primary y axis trendLine is used even when i have mapped each trendLine to secondary axis. (parentYAxis: 'S'). Could you please help me in this scenario. Also can i draw area chart on secondary axis? Thanks in Advance... Code: FusionCharts.ready(function () { var revenueChart = new FusionCharts({ type: 'msstackedcolumn2dlinedy', renderAt: 'chart-container', width: '500', height: '300', dataFormat: 'json', dataSource: { "chart": { "divlinecolor": "CCCCCC", "alignLegendWithCanvas": "0", "showvalues": "0", "pYAxisName": "Bar Chart", "sYAxisName": "Line Chart" }, "categories": [ { "category": [ { "label": "Jan" }, { "label": "Feb" }, { "label": "Mar" }, { "label": "Apr" } ] } ], "dataset": [ { "dataset": [ { "seriesname": "Purchase1", "data": [ { "value": 21 }, { "value": 18 }, { "value": 27 }, { "value": 25 } ] }, { "seriesname": "Purchase2", "data": [ { "value": 63 }, { "value": 10 }, { "value": null }, { "value": null } ] } ] } ], "lineset": [ { "seriesname": "revenue", "data": [ { "value": 6173 }, { "value": 4153 }, { "value": 7109 }, { "value": 6142 } ] } ], "trendLines": [ { "line": [ { "startValue": 6104.8, "endValue": 6133.7, "displayValue": " ", "color": "6baa01", "alpha": "80", "dashed": "1", "parentYAxis": "S" } ] } ] } }); revenueChart.render(); });
  2. Hi, i want to construct a multi series line and single stacked column chart with dual y axis, i want multi series line, trend lines on primary axis and single stacked column on secondary axis. To achieve the above i found one chart type: msstackedcolumn2dlinedy: issue with this chart is i cannot switch axis for stacked column and line series How can i achieve this chart? an example would be great...
  3. I have a set of data for different countries in following way dataset : [10, 45, 20, 70, 55, 100, 150, 200, 232, 2] i want to set the color range for these countries but want max value in legend as 100 scrollbar 0 to 100 so i have set the color range in following way 0 to 25:red 25 to 50:yellow 50 to 100:green expected : if any value is greater than 100; than the color should be green. current scenario : if value is greater than 100 default null color is applied. is there any settings where we could map values to max values even if current value for a country is greater than max value specified in color range object.