microsoft-chart-controls

Problem with Point ToolTip in Microsoft Charts

天大地大妈咪最大 提交于 2019-12-12 17:12:43
问题 I have a little problem with tool tip in point. When user moves mouse into Point, Tool Tip is appearing. If point under Axes tool tip is not appearing. How to show points under axis? Tool Tip is appearing Tool tip is not appearing 来源: https://stackoverflow.com/questions/4397895/problem-with-point-tooltip-in-microsoft-charts

Creating a custom palette in microsoft charting

不打扰是莪最后的温柔 提交于 2019-12-12 01:58:30
问题 Is there a way to create my own charting palette in which I can specify my own colors? The ones that are available from chart.Palette = System.Web.UI.DataVisualization.Charting.ChartColorPalette. //palette do not really fit in with our design, so creating my own would be nice if this is possible thanks! 回答1: You can define your own palette using chart's PaletteCustomColors collection. chart.PaletteCustomColors.Add(Color.Red); chart.PaletteCustomColors.Add(Color.Blue); Also if you need to

Asp.Net Chart Control - Truncated Values on X Axis

半腔热情 提交于 2019-12-12 01:23:01
问题 Man I'm really stuck. I've been trying to get through this for nothing less than a week. I'm plotting a horizontal bar chart, a simple (Y) Hours vs (X) Avg. Rate. The number of hours is fixed, I must always show from 0h to 23h, in order to maintan its readability. The bad part of this is that whenever I have a bar plotted on 0h, it gets truncated for its positioning (right aside of X axis), like the image below. I got some suggestions already, but I couldn't get it done: 1 - Start hour from

How to add zoom IN/ZOOM out functionity into chart control

耗尽温柔 提交于 2019-12-11 19:46:49
问题 I have created chart using microsoft chart control. Below is the stuff. <asp:Chart ID="dntdata" runat="server" Height="130px" Width="134px" Visible="false"> <Series> <asp:Series Name="Series1" ChartType="Doughnut" IsValueShownAsLabel="True" LabelForeColor="White" Font="Verdana,5pt"> <Points> </Points> </asp:Series> </Series> <ChartAreas> <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="True"> </asp:ChartArea> </ChartAreas> </asp:Chart> I need to add - ZOOM IN/ZOOM OUT functionality into

How to make series labels to show without overlapping each other? ASP.NET 4.0

那年仲夏 提交于 2019-12-11 07:57:48
问题 I am developing a chart (using ASP.NET CHART CONTROL) with about 2 or 3 series on it. Please look how it looks like now. As you can see, the labels are overlapping each other and it does not look very good. Is there any way I can solve this problem and improve the overall look of the chart? Thanks. My code: series.ChartType = SeriesChartType.Line series.YValueType = ChartValueType.Double series.XValueType = ChartValueType.String series.BorderWidth = 1 series.ShadowOffset = 1 series

Chart control two data set bars overlapping

折月煮酒 提交于 2019-12-11 04:49:44
问题 I am working on a ASP.NET project and I have a bar chart with two data sets alongside each other. How do I get them to over lap. One item of data is a tank size, the other is the current level. 回答1: <asp:Series ChartArea="ChartArea1" Font="MS Mincho, 8pt, style=Bold" Legend="Legend1" Name="Tank Size" XValueMember="Serial" YValueMembers="DeviceSize" ChartType="StackedColumn"> </asp:Series> <asp:Series Legend="Legend1" Name="Current Level" XValueMember="Serial" YValueMembers="DeviceLevel"

how to enable zooming in Microsoft chart control by using Mouse wheel

谁说我不能喝 提交于 2019-12-09 07:50:59
问题 I am using Microsoft Chart control in my project and I want to enable zooming feature in Chart Control by using Mouse Wheel, how can I achieve this? but user don't have to click on chart, It should be like if mouse position is on my Chart than from that point onward by mouse wheel rolling it can zoom in / out 回答1: You'll want to use the MouseWheel event. First make both axes of your chart zoomable: chart1.ChartAreas[0].AxisX.ScaleView.Zoomable = true; chart1.ChartAreas[0].AxisY.ScaleView

Microsoft .NET Chart control - select points using rectangle [duplicate]

故事扮演 提交于 2019-12-08 10:08:56
问题 This question already has an answer here : Selecting specific values on a Chart (1 answer) Closed 3 years ago . Data with X, Y values is plotted on as a scatter chart using the .NET 4.0 Chart control. I believe the Microsoft chart control was obtained from Dundas. I would like to select points on the chart using a rubber-band rectangle similar to the rectangle that is used to zoom the chart. (When the first mouse button is clicked it establishes one corner of the rectangle, as the mouse moves

Custom MarkerStyles possible in Microsoft Chart Controls? [duplicate]

帅比萌擦擦* 提交于 2019-12-07 06:56:16
问题 This question already has an answer here : .NET Charting Legend Marker Size (1 answer) Closed 3 years ago . I'm using Microsoft Chart Controls (4.0), and have a line chart with several marker types. So much so, that I'm running out of markertypes. The defaults (square, triangle, circle, etc.) are insufficient. Is it possible to add custom marker type images? For instance, I need a triangle pointed in the opposite direction. 回答1: You can create a opposite direction triangle image and set the

how to enable zooming in Microsoft chart control by using Mouse wheel

邮差的信 提交于 2019-12-03 09:46:15
I am using Microsoft Chart control in my project and I want to enable zooming feature in Chart Control by using Mouse Wheel, how can I achieve this? but user don't have to click on chart, It should be like if mouse position is on my Chart than from that point onward by mouse wheel rolling it can zoom in / out tmwoods You'll want to use the MouseWheel event. First make both axes of your chart zoomable: chart1.ChartAreas[0].AxisX.ScaleView.Zoomable = true; chart1.ChartAreas[0].AxisY.ScaleView.Zoomable = true; And assign the event: chart1.MouseWheel += chart1_MouseWheel; Then in the event handler