Draw Chart which axis interval is non-sequential in C#


It`s simple that draw a sequential interval.

If I draw like below chart, which C# component I use?<br /> Or can I setting for draw like this on ms-chart control?

<a href="http://cfile30.uf.tistory.com/image/2176034052A8345530B338" rel="nofollow">chart http://cfile30.uf.tistory.com/image/2176034052A8345530B338</a>


Try this code.

public partial class Form1 : Form { private Chart chart1; public Form1() { InitializeComponent(); chart1 = new Chart(); var chartArea1 = new ChartArea(); chart1.ChartAreas.Add(chartArea1); chartArea1.AxisX.IsLogarithmic = true; chartArea1.AxisX.Maximum = 1000D; chartArea1.AxisX.Minimum = 1D; chartArea1.AxisX.MinorGrid.Enabled = true; chartArea1.AxisX.MinorGrid.Interval = 1; var series1 = new Series(); series1.ChartType = SeriesChartType.Spline; series1.Points.Add(new DataPoint(0D, 0D)); series1.Points.Add(new DataPoint(10D, 10D)); series1.Points.Add(new DataPoint(100D, 100D)); chart1.Series.Add(series1); chart1.Location = new System.Drawing.Point(10, 10); chart1.Size = new System.Drawing.Size(800, 300); Controls.Add(this.chart1); }


  • How to get chart data in tabular form same as 'view data table' on click a button
  • MsChart Add Multiple Series from Database
  • Find and replace over multiple lines using sed in Xcode Run Script bin/sh
  • How to detect the last page of the document?
  • Select Case, when no data return
  • how to push file from PC to sdcard in android mobile using abd push command? [duplicate]
  • Calculating weights in a NN
  • How to mention namespace in XSLT file when the namespaces are dynamic?
  • Import Error using cPickle in Python
  • MSVC10 /MP builds not multicore across folders in a project
  • Removing child elements in XML using python
  • psycopg2.ProgrammingError: syntax error at or near “stdin” error when trying to copy_from redshift
  • WPF8/C# - Binding Data To Grid
  • Set User Control's default event
  • jQuery ajax security
  • angular2 chart and events
  • getting domain details and portrait_id and landscape_id for openX
  • Azure table query partial partitionkey guid match
  • HighCharts - Show tooltip on column where value is 0 or null
  • Defining enums in Cython code that will be used in the C part of code
  • select function not working in 3.5.4 version of d3.js
  • Implementing “partial void” in VB
  • c# open webrowser in many tab
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • How to Cache Real-time Data?
  • Python urlparse: small issue
  • FileReader+canvas image loading problem
  • AT Commands to Send SMS not working in Windows 8.1
  • Cannot Parse HTML Data Using Android / JSOUP
  • JTable with a ScrollPane misbehaving
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Java static initializers and reflection
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • unknown Exception android
  • Observable and ngFor in Angular 2
  • failed to connect to specific WiFi in android programmatically
  • Unable to use reactive element in my shiny app
  • java string with new operator and a literal
  • How can I use threading to 'tick' a timer to be accessed by other threads?