charts

Apache POI - Cant get Line Chart Values to appear in the Secondary Axis

一曲冷凌霜 提交于 2019-12-20 01:58:14
问题 I can't get the Line Chart Values to appear on the Secondary Axis of the chart. When I open the excel file, I can get the chart the way I want just by clicking on top of the line series with the right button and select "Format Data Series",It appears that the secondary axis is selected, but my chart isn't the way I want, and when I select primary axis and then again secondary axis, it works. It doesn't make sense. It would be good if there was a function for putting the ValAx in the Secondary

How to do I change a Series color in Excel using C#?

。_饼干妹妹 提交于 2019-12-20 01:46:45
问题 I have written a program in C# whereby it automatically generates a graph for me from a CSV file and puts it onto a new XLS file. However, I need to change the color of the Line (as it is a Line Chart) to red rather than the default blue. I am finding this extremely difficult to do and the stuff I've found online has not worked. Please can someone tell me how to do this? 回答1: Here is an example. I noticed when I tried to pass an integer that the bytes seem to be read in reverse order. So

How to do I change a Series color in Excel using C#?

£可爱£侵袭症+ 提交于 2019-12-20 01:46:00
问题 I have written a program in C# whereby it automatically generates a graph for me from a CSV file and puts it onto a new XLS file. However, I need to change the color of the Line (as it is a Line Chart) to red rather than the default blue. I am finding this extremely difficult to do and the stuff I've found online has not worked. Please can someone tell me how to do this? 回答1: Here is an example. I noticed when I tried to pass an integer that the bytes seem to be read in reverse order. So

Removing the white line between slices in Flot pie chart

喜你入骨 提交于 2019-12-20 01:39:08
问题 How can I remove the white line between slices and background in Flot pie chart ? My jsfiddle As you can see it looks like that: I want it to look like that(Ignore my bad artistic skills): My Code: $(function () { var data = [ { label: "Read", data: 50, color: '#614E43' }, { label: "Unread", data: 150, color: '#F5912D' }]; $.plot($("#star"), data, { series: { pie: { radius: 0.2, innerRadius: 0.125, show: true } } }); }); 回答1: You can add the STROKE Property pie: { radius: 0.2, innerRadius: 0

iPhone Core-plot: Chart Zoom In Zoom out, Y axis Bigger, Y axis Smaller

安稳与你 提交于 2019-12-20 01:39:05
问题 I am now using Core-plot for iPhone chart Development. But it has some requirement i can not reach. I am now using CorePlot 0.4 , example code AAPLot to develop Please have a look the following image, then you will know what is my problem Thank you very much... I really need help for this problem, thank you i want my result like this application 回答1: I see several questions here: Y-axis scale: Try the CPTAxisLabelingPolicyAutomatic labeling policy on your y-axis. If that doesn't give you

VBA looping through all series within all charts

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-19 21:51:35
问题 I'm having an issue with the looping through of several charts in my VBA code. I'm 99.7% sure that this is a really easy and quick fix but my brain isn't working today. I want the code to loop through every chart on the ActiveSheet, and for every data series that the chart contains I want it to add the last value of the series. In my example I have 9 charts, each with 3 series in them (bound to change, some have 2 but I digress). I have the following code Sub AddLastValue() Dim myChartObject

Chart annotations: How can I align the annotation along an axis of a datapoint

核能气质少年 提交于 2019-12-19 19:43:14
问题 I have aligned the annotations to data points; I want to align the annotations vertically. I have read this, But can't figure out how to relate the chart width to data points. https://msdn.microsoft.com/en-us/library/dd456731.aspx And this: MS Charting Annotations refuse to align to mouse position I added a picture of the chart so far as an example. 'create new chart chart1 = New DataVisualization.Charting.Chart 'add chart areas chart1.ChartAreas.Add("NewChartArea") chart1.ChartAreas(

Excel VBA Line Color / Marker Line Color

眉间皱痕 提交于 2019-12-19 15:04:13
问题 I'm writing some VBA code to modify Excel charts. For a scatter chart I need to modify the marker line colour and sometimes the line colour of the connecting lines. I can do both manually but when I record a Macro, both actions result in the same code despite the results being very different. Any idea how to distinguish between a line colour and a marker line colour in code? This code was created when I recorded myself changing colour of the marker lines Sub Macro3() ' ' Macro3 Macro ' '

Windows Forms Chart set fixed mixed labels

橙三吉。 提交于 2019-12-19 11:52:03
问题 I would like to fix my labels on my x or y axis, so they are always static. I also want to mix the labelling with numbers and strings like in shown picture. Furthermore the y axis starting with -1, how can I always start with 0? 回答1: Setting CustomLabels is tricky as their FromPositions and ToPositions need to be set correctly or else they won't show at the right positions! See here and here for more examples! Here is one for your question, as I read it: CA.AxisY.Minimum = 0; CA.AxisY.Maximum

Mixed line-style of same line in DevExtreme chart

若如初见. 提交于 2019-12-19 10:47:32
问题 Hi I'm working for the first time with the charts of the DevExtreme Framework, because I'm searching for a good chart plugin for my web-application, which can solve some of my special requirements. At the moment my chart looks like this (I can't put it in a fiddle or in the stackoverflow snippet, because there I got an error, when a put an external library for globalize/chartjs.js so I copied into the question): HTML: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>DevExtreme