charts

d3js Load chart data from external csv file

倾然丶 夕夏残阳落幕 提交于 2019-12-11 18:12:07
问题 I'm Trying to implement the simple chart similar to the example as in below link from d3js http://bl.ocks.org/NPashaP/96447623ef4d342ee09b Goal is to implement this example from .csv file as for my requirement data changes dynamically. <!DOCTYPE html> <meta charset="utf-8"> <style> body{ width:1060px; margin:50px auto; } path { stroke: #fff; } path:hover { opacity:0.9; } rect:hover { fill:blue; } .axis { font: 10px sans-serif; } .legend tr{ border-bottom:1px solid grey; } .legend tr:first

Google Charts, Load Different Charts on One Page

北战南征 提交于 2019-12-11 18:01:52
问题 I am trying to load a number of google charts on one page, however I am falling over trying to add the second. I am testing the new Google Analytics SuperProxy feature, so the Data is being drawn in from a dataSourceURL My code is below, as is the code works, however as soon as I uncomment out the section everything fails to load and for the life of me I cannot figure out how to fix this. Hope someone can help. <html> <head> <title>jmit</title> <script type="text/javascript" src='https://www

Charts.js - Show labels outside gridlines

一曲冷凌霜 提交于 2019-12-11 17:53:19
问题 I have created chart using chart.js library and whenever I am adding labels. Show labels outside gridlines Here is my example https://stackblitz.com/edit/scatter-polar-chart?file=index.js Without Labels With Labels Edit - 1 if you add labels, left side value 6 is not in the alignment with grid circle 来源: https://stackoverflow.com/questions/53006335/charts-js-show-labels-outside-gridlines

The easiest way to implement a barchart with 2 columns using apache poi and ooxml-schemas

纵饮孤独 提交于 2019-12-11 17:50:01
问题 I'm trying to create n bar chart of 2 columns in a xlsx file like below. But It's so confuse to me , to understand how the class inside the org.openxmlformats.schemas.drawingml.x2006.chart works. I've already tryied but the generate file does not get the chart that I have drawed. I have this code: Drawing drawing = planilha.createDrawingPatriarch(); ClientAnchor anchor = drawing.createAnchor(0, 0, 0, 0, 0, 5, 5, 15); Chart chart = drawing.createChart(anchor); CTChart ctChart = ((XSSFChart

place a chart in a view

风格不统一 提交于 2019-12-11 17:48:41
问题 I have a chart that I use to display a graph. To display the chart I use a jar taken from here: http://writerbay.wordpress.com/2011/03/12/android-tutorial-displaying-chart-on-android/#comment-54 And the code for it is also similar to that one....and it looks like this: package com.google.android.chartView; import com.kidroid.kichart.model.Aitem; import com.kidroid.kichart.view.LineView; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; public class

Swift 4, CorePlot, send chart via mail app (with MessageUI)

帅比萌擦擦* 提交于 2019-12-11 17:47:04
问题 Can I somehow take the chart (which was made with CorePlot) from view and send it as a file to another person via mail app? I want to send mail with the help of MessageUI. I feel fine if just the picture will be sent. 回答1: Use the -imageOfLayer method to get a PNG of the graph or the -dataForPDFRepresentationOfLayer method to get a PDF and attach the resulting file to a message. 来源: https://stackoverflow.com/questions/49743016/swift-4-coreplot-send-chart-via-mail-app-with-messageui

SVG file converted to PNG using batik but No AXIS line

冷暖自知 提交于 2019-12-11 17:43:23
问题 I am converting SVG file to PNG using batik library, It works but it is not showing AXIS line in PNG file. On the other hand if I create PNG using csiro lib it creates AXIS line but I am not using this library because it not working properly with UTF-8 characters. Please check the PNG file created using batik and csiro lib respectively. Thanks. Below is SVG code <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC

Asp.net chart multi-series showing wrong data

六眼飞鱼酱① 提交于 2019-12-11 17:39:19
问题 After solving this problem with asp.net multi-series chart programmatically, I found another problem in another multi-series chart: I want to show a monthly sales report, showing the evolution of the last m months in approved and rejected proposals. Some months, there aren't any rejected proposals, so the following query (C#/Oracle) returns some empty results. select to_char(c.date,'YYYYMM') ctb_month, c.approved, count(distinct c.f1) amt_c, count(b.f1) amt_b, sum(nvl(b.value,0)) sum_values

wpf chart print (system.windows.controls.datavisualization.toolkit)

为君一笑 提交于 2019-12-11 17:38:14
问题 I'm using a Bar Chart in the system.windows.controls.datavisualization.toolkit in a WPF/C# project. I would like to print this chart on a page, but it appears none of the binding are executed before printing. I end up with an empty square where the chart should be. My XAML code looks like this (I've ommitted layout things) <Grid x:Name="LayoutRoot"> <chartingToolkit:Chart x:Name="GUIchart" Style="{StaticResource TheGUIChartStyle}" FontSize="12"> <chartingToolkit:BarSeries x:Name="Series"

ChartJs - set background color of the space between ticks

痴心易碎 提交于 2019-12-11 17:35:12
问题 I need to set the even/odd space between the ticks background color just like in the following image; See the "Interlaced Colors" background color. I need to do this for both vertical and horizontal graphs. See for example: https://canvasjs.com/docs/charts/chart-options/axisY/interlacedcolor/ Any idea on how can I implement something similar in chart js? I also found an almost good solution here: http://jsfiddle.net/e7oy6yk6/2 1) HTML code: <canvas id="myChart"></canvas> 2) Javascript code: