charts

Excel: Duplicated PlotOrder for two Series in a Chart

烂漫一生 提交于 2019-12-20 07:18:09
问题 I have a ChartObject , with 10 Series . I have two Series with .PlotOrder = 1, and two other with .PlotOrder = 2. Therefore, the .PlotOrder of the last Series is 8. Can this be explained? I expected .PlotOrder to span from 1 to .Count . Proof of what I have is that, during execution of a Sub , I get in cho a reference to the ChartObject in question. Then, in the immediate window: ? cho.Chart.SeriesCollection(cho.Chart.SeriesCollection.Count).PlotOrder 8 ? cho.Chart.SeriesCollection.Count 10

Highcharts: Is it possible to show Sunburst legend similar to Pie chart legend?

一曲冷凌霜 提交于 2019-12-20 07:15:03
问题 Currently, on enabling the legend of sunburst chart in Highcharts, single series label is seen in legend. Refer following JSFiddle: http://jsfiddle.net/amrutaJgtp/7r8eb5ms/6/ Highcharts pie chart legend shows the all the category labels in the legend. Refer following Pie chart legend: http://jsfiddle.net/amrutaJgtp/wgaak302/ series: [{ name: 'Sales', colorByPoint: true, showInLegend: true, data: [{ name: 'Consumer', y: 2455 }, { name: 'Corporate', y: 6802 },{ name: 'Home office', y: 9031 }, {

Google chart increase the y axis width increase

微笑、不失礼 提交于 2019-12-20 07:13:45
问题 how to increase Google chart y axis width. pls find the image. left side full text was not comes properly. please guide me. how to increase Google chart y axis width 回答1: need to adjust the size of the chart and chartArea in the options to leave room for the y-axis labels on left, use chartArea.left to leave room for the title on top, use chartArea.top see following example, added colors to highlight each area... google.charts.load('current', { callback: function () { var data = google

Excel 2010 VBA - Export Chart from Chart Sheet

白昼怎懂夜的黑 提交于 2019-12-20 07:06:48
问题 I'm struggling to find the correct syntax to export a chart from a chart sheet, not embedded in a worksheet. I used to have the chart embedded, but transferred it to it's own sheet at the request of the user and I can't seem to find anything to suit. Here is the code as it stood with an embedded chart, could someone give me a hint as to the syntax? Public Sub ExportChart() Dim varChartObject As ChartObject Dim varChart As Chart Dim varFilename As String Dim varPath As String Set

JavaFX: How to deserialize dynamically create Area Chart Series?

那年仲夏 提交于 2019-12-20 06:40:12
问题 I am adding series dynamically using list in Area Chart. I want to unwrap the series. I need this because I want to save Area Chart series data in db. When app execute it's like this: User can add series by filling the textfields and by clicking the Add button: What I want is when user click on the Save button it should translate the already added series into data so I can store it in db. But what I've tried it It's not giving me the accurate data. According to series on chat I want to get

How to solve a Chart.js 2.0 issue with mouseover and several updates?

若如初见. 提交于 2019-12-20 06:37:58
问题 Very strange, I have a Chart.js chart that I need to update dinamically. The update works fine, but if you move the mouse over the chart or click several times the button Update (Add data), the bars and the lines disappear and in the console shows this error: Uncaught TypeError: Cannot read property 'draw' of null Please click on the button several times, you can test it slowly or quickly. Pass the mouse over chart too after click the "Add data" button. You can test this at: https://jsfiddle

How to set Background Color of Plot Area of Chart using openpyxl

谁都会走 提交于 2019-12-20 06:32:09
问题 I would like to change the background color of a chart, as in this example, using openpyxl. In a google group discussion I found the following code snippet: from openpyxl.chart.shapes import GraphicalProperties props = GraphicalProperties(solidFill="999999") chart.graphical_properties = props chart.plot_area.graphical_properties = props but it does not have any effect on the chart when saved to the excel file. 回答1: This functionality was seemingly broken in a previous version of openpyxl and

How can you force Google Charts vAxes render?

给你一囗甜甜゛ 提交于 2019-12-20 05:39:24
问题 Currently I have two graphs I'm rendering on a page, I'm using google's visualization Charts lib and due to page sizing issues the vAxes refuses to render some/most of the time. If I give it enough space, it will render the axes fine, but if it's even slightly off, even when there's plenty of space for these bloody axes, they just refuse to render, I can't have that! I looked into it and it seems to be rendering bunch of tags when it works and doesn't render when it doesn't work, which makes

Chart JS: Always show tooltips in a multi dataset line chart

与世无争的帅哥 提交于 2019-12-20 05:32:10
问题 I'm trying to always show tooltips for a multi dataset line chart in ChartJS The existing solutions only work for a single dataset (e.g. Chart.js - Doughnut show tooltips always?) like so: var options = { tooltipTemplate: "<%= value %>", onAnimationComplete: function() { this.showTooltip(this.segments, true); //Show tooltips in bar chart (issue: multiple datasets doesnt work http://jsfiddle.net/5gyfykka/14/) //this.showTooltip(this.datasets[0].bars, true); //Show tooltips in line chart (issue

Why isnt Bokeh generating extra y ranges here?

你。 提交于 2019-12-20 05:28:06
问题 My Bokeh version is 0.12.13 and Python 3.6.0 I modified the example code available here: https://docs.bokeh.org/en/latest/docs/user_guide/plotting.html I have just tried to add one extra y range. from bokeh.plotting import output_file, figure, show from bokeh.models import LinearAxis, Range1d x = [1,2,3,4,5] y = [1,2,3,4,5] y2 = [10,9,8,7,6] y3 = [23,24,25,26,27] output_file("twin_axis.html") p = figure(x_range=(0,6), y_range=(0,6)) p.circle(x, y, color="red") p.extra_y_ranges = {"foo1":