charts

Converting a docx containing a chart to PDF

冷暖自知 提交于 2019-12-14 02:21:43
问题 I've got a docx4j generated file which contains several tables, titles and, finally, an excel-generated curve chart. I have tried many approaches in order to convert this file to PDF, but did not get to any successful result. Docx4j with xsl-fo did not work, most of the things included in the docx file are not yet implemented and show up in red text as "not implemented". JODConverter did not work either, I got a resulting PDF in which everything was pretty good (just little formatting/styling

how to get image map from Jfree chart's Image

允我心安 提交于 2019-12-14 01:31:26
问题 In bar chart, I want to use hyperlinks for every color(or segment). To make this I need to use Image MAP (using Jfree chart). My code is creating image through Jfree chart, but I also want individual hyperlink with every color code. Can you please advice how I can get coordinates from Jfree chart's image based on color code or row key or column key. public class Demo { public static void main(String arg[]) throws IOException{ DefaultCategoryDataset result = new DefaultCategoryDataset();

Determining the value of a point in Excel VBA

时光毁灭记忆、已成空白 提交于 2019-12-14 00:33:32
问题 I am trying to have the points in a chart change color if they are within certain value paramaters (i.e., >1 is green, <1 is red, anything else is blue). I cannot determine how to get VBA to give me the value of any given point. In this thread, previously answered, the answer (very helpful in other ways) indicates that points(num).value will return the value at the point. However, I am getting an error message doing this, and nowhere else online or in the VBA help can I find a method that

VBA deleting chart series [closed]

人盡茶涼 提交于 2019-12-14 00:08:50
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . My chart contains some extraneous series. These series all contain the word "series" in them (e.g., "Series1", "Series2") rather than descriptive names. Can someone please provide a VBA procedure that executes this Pseudocode: In chart 1 if any series name contains the word "series" delete it. If

Adding buttons to a chart - svg

孤街醉人 提交于 2019-12-13 23:45:03
问题 I want to develop an interactive chart using a JS library. In this chart I want to have buttons (inside the chart), in this way (in red): I want also to change the line type (dotted for example). I tried Morris.js but this lib is not allowing me to do what I want to do. Is there any other library that I can use instead ? 回答1: That's possible with Morris.js , but you need to add some code to Morris (latest version 0.5.1) to draw dotted lines: Extend Morris and add a parameter called lineStyle

Chart column grid between

守給你的承諾、 提交于 2019-12-13 22:50:30
问题 I'm using System.Windows.Forms.DataVisualization.Charting. Now I have a column chart like this. But I need the grid to be aside to the column like this. How can I do it? My data are from DataGridView, so my code was look like this. var ser = chart1.Series.Add("ana"); ser.IsValueShownAsLabel = true; ser.IsVisibleInLegend = false; ser.ChartType = SeriesChartType.Column; //X value is string ser.XValueMember = dataGridView1.Columns[0].DataPropertyName; //Y value is int ser.YValueMembers =

How to set event for Google chart?

谁都会走 提交于 2019-12-13 21:29:38
问题 Hi I am using Google API to draw chart but I want to set event for each row of this table but I don't know how should I collect this element for example I wanna set event that whenever clicked in Magnolia Room alert("Magnolia Room clicked"); Google chart link: Google Timeline Chart here is google javascript chart code: <script type="text/javascript" src="https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization', 'version':'1','packages':['timeline']}]}"></script> <script type=

plotly - multiple traces using a shared slider variable

元气小坏坏 提交于 2019-12-13 20:07:07
问题 As the title hints, I'm struggling to create a plotly chart that has multiple lines that are functions of the same slider variable. I hacked something together using bits and pieces from the documentation: https://pastebin.com/eBixANqA. This works for one line. Now I want to add more lines to the same chart, but this is where I'm struggling. https://pastebin.com/qZCMGeAa. I'm getting a PlotlyListEntryError: Invalid entry found in 'data' at index, '0' Path To Error: ['data'][0] Can someone

Creating 100% stacked area graph for a website

断了今生、忘了曾经 提交于 2019-12-13 20:06:35
问题 I am trying to add a chart to my website showing how income earned is divided between two parties. It is essentially the 100% stacked graph in excel that would look something like: Is there a good (ideally inexpensive, since the only one I've found that might do it is Highcharts, which looks great but it's not cheap for what we are doing) tool that we could embed into our website? Ideally it would be great if the user could select a certain price and it would show the percentage below for the

D3 packs circles incorrectly

依然范特西╮ 提交于 2019-12-13 19:44:28
问题 I was trying to create a bubble chart with D3. Everything worked exactly as in the example, but then I've noticed the data is rendered incorrectly. So I ran an experiment: I've put four "groups" with different children combinations to create a group with a total value of 100 : 1 x 100 , 2 x 50 , 3 x 33.33 and 4 x 25 . E.g. I have the data like this: [{ title: "X", children: [ { title: "100", weight: 100 }, ] }, { title: "X", children: [ { title: "50", weight: 50 }, { title: "50", weight: 50 }