Search found 43 matches

by hallo888
Mon Oct 20, 2014 3:13 am
Forum: LightningChart Ultimate WPF
Topic: Heat Map for LineCollection
Replies: 8
Views: 13344

Re: Heat Map for LineCollection

Hi Pasi, I came up with the following simple project for testing. const int numberOfMachines = 254; const int durationInSecs = 1000; public MainWindow() { InitializeComponent(); InitChart(); CreateHeatMap(); } private void InitChart() { //Initialize chart m_chart.ViewXY.LegendBox.Layout = LegendBoxL...
by hallo888
Fri Oct 17, 2014 2:56 am
Forum: LightningChart Ultimate WPF
Topic: Heat Map for LineCollection
Replies: 8
Views: 13344

Re: Heat Map for LineCollection

Hi Pasi, THanks for your very detailed example. I have implemented it but i encountered an error at the series where the operating time stretches across the whole x-axis. For example, in my scenario, x-axis range from 100-70000s there are a total of 6 machines: Machine A:100 - 5000s Machine B: 400 -...
by hallo888
Wed Oct 15, 2014 3:26 am
Forum: LightningChart Ultimate WPF
Topic: SharpDX.SharpDXException
Replies: 3
Views: 9554

Re: SharpDX.SharpDXException

Build your app in Any CPU config and run in 64-bit windows. If it works then, it's an out-of-memory issue on computer side due to 2GB RAM access limit. Otherwise it seems your graphics adapter has run out of memory. Hi Pasi, Is there a 64bit installer for LightningChart? Or do i just have to change...
by hallo888
Wed Oct 15, 2014 2:50 am
Forum: LightningChart Ultimate WPF
Topic: Heat Map for LineCollection
Replies: 8
Views: 13344

Re: Heat Map for LineCollection

Hi Pasi, Thanks for the suggestion. I have tried implementing IntensityMeshSeries. Based on the examples, i created a IntensityPoint[columns,rows] array which will contains all the nodes that i require. For the following scenario (please refer to first post for an illustration of what i am trying to...
by hallo888
Tue Oct 14, 2014 9:38 am
Forum: LightningChart Ultimate WPF
Topic: Heat Map for LineCollection
Replies: 8
Views: 13344

Heat Map for LineCollection

Hi, I would like to create a chart as shown in the attached diagram. The Y-Axis represents of different machines while the X-Axis represents the operating start-end time of machines. Each machine can have multiple start/end time. Apart from start/end time, each machine, at every time instance will h...
by hallo888
Fri Sep 26, 2014 1:22 am
Forum: LightningChart Ultimate WPF
Topic: Zooming actions
Replies: 1
Views: 4684

Zooming actions

Hi, The chart zooms in horizontally and vertically when we click-hold on left mouse button and drag the mouse from top left to bottom right of the chart. Are we able to customise this default action such that it only zooms horizontally when we click-hold on left mouse button and drag the mouse from ...
by hallo888
Thu Sep 25, 2014 10:07 am
Forum: LightningChart Ultimate WPF
Topic: SharpDX.SharpDXException
Replies: 3
Views: 9554

SharpDX.SharpDXException

Hi, I encountered the below error when plotting the graph: SharpDX.SharpDXException: HRESULT: [0x8876086A, Module: [SharpDX.Direct3D9], ApiCode: [3DERR_NOTAVAILABLE/NotAvailable], Message: Unknown at SharpDX.Result.CheckError() Arction.WPF.LightningChartUltimate.ChartException: Render device create ...
by hallo888
Thu Sep 25, 2014 9:38 am
Forum: LightningChart Ultimate WPF
Topic: Problem with the x-axis
Replies: 2
Views: 5477

Re: Problem with the x-axis

The AutoDivSpacing was already set to true. By the way, the axis has been fixed it suddenly, have not changed anything since last post.

Thanks for your prompt replies.
by hallo888
Thu Sep 25, 2014 9:15 am
Forum: LightningChart Ultimate WPF
Topic: Problem with the x-axis
Replies: 2
Views: 5477

Problem with the x-axis

Hi, I have set the default range of the x-axis to be from 0-700000 via x-axis.setRange(0,700000). The x-axis is filled with ticks to an extend that i am not able to see individual ticks, just a large rectangle at the bottom. The labels also turn out to be a line of numbers below the rectangle with n...
by hallo888
Thu Sep 18, 2014 2:34 am
Forum: LightningChart Ultimate WPF
Topic: Set AnnotationXY to be Displayed on Top Right of Chart
Replies: 1
Views: 7765

Set AnnotationXY to be Displayed on Top Right of Chart

Hi, I would like to have the annotation to always show up at the top right hand corner of the chart, no matter what size. Below is what i did. Set the annotationXY coordinate system to "ScreenCoordinates" to reference in pixels. First to compute the size of the annotation box, get the widt...
by hallo888
Tue Sep 16, 2014 8:54 am
Forum: LightningChart Ultimate WPF
Topic: Multiple X-Axis on one chart
Replies: 1
Views: 4939

Multiple X-Axis on one chart

Hi, Currently my chart has an X-axis in DateTime format. The chart is used to represents the on/off time of machines. Therefore X-axis is to indicate the absolute start and end operation time of each machines. I would like to have another x-axis (black axis in the attachment), where time is represen...
by hallo888
Tue Sep 16, 2014 1:43 am
Forum: LightningChart Ultimate WinForms
Topic: Creation of timeline chart
Replies: 3
Views: 9228

Re: Creation of timeline chart

Hi Parsi, I have implemented using line collections as you suggested for what i require. With that is mind, is there any way for me to achieve as shown in the attachment, where 1 line is a solid line (grey line) while the other line only have outlines (red lines), using line collections? Please advi...
by hallo888
Fri Sep 12, 2014 12:54 am
Forum: LightningChart Ultimate WPF
Topic: Saving Screenshots
Replies: 4
Views: 7692

Re: Saving Screenshots

Oh ok. Thanks for the reply.
by hallo888
Thu Sep 11, 2014 9:48 am
Forum: LightningChart Ultimate WPF
Topic: Saving Screenshots
Replies: 4
Views: 7692

Re: Saving Screenshots

You can simply use chart.SaveToFile("picture.bmp"); Works in both WPF and Winforms. Hi Parsi, Thanks for the code. It works. However i am encountering an issue. Just a little backgroud, my chart is declared in the xaml file and is not shown on application startup. User will have to explic...
by hallo888
Wed Sep 10, 2014 9:36 am
Forum: LightningChart Ultimate WPF
Topic: Saving Screenshots
Replies: 4
Views: 7692

Saving Screenshots

Hi, I saw in some other post that screenshot of charts can be saved using the following codes Bitmap bm = ChartTools.CaptureControlToBitmap(m_chart); bm.Save("c:\\temp\\combined.bmp", System.Drawing.Imaging.ImageFormat.Bmp); However, it seems like the CaptureContolToBitmap() function only ...
by hallo888
Fri Sep 05, 2014 8:33 am
Forum: LightningChart Ultimate WPF
Topic: Customisation of Legend
Replies: 1
Views: 4335

Customisation of Legend

Hi, I have a multiple TimeLineCollection in a ViewXY chart. Each timeline collection contains multiple segment lines. These segment lines can either be represented by blue or red colour. May i know is there a way to customize the legend to display what does red represent and what does blue represent...
by hallo888
Tue Aug 05, 2014 3:25 am
Forum: LightningChart Ultimate WPF
Topic: Prevent resizing of the gap between each CustomTicks
Replies: 7
Views: 11523

Re: Prevent resizing of the gap between each CustomTicks

Hi

I can't find ViewXY.AxisLayout.AutoAdjustMargins. Is this available only in certain version?
Thanks!
by hallo888
Mon Aug 04, 2014 2:26 am
Forum: LightningChart Ultimate WPF
Topic: Prevent resizing of the gap between each CustomTicks
Replies: 7
Views: 11523

Re: Prevent resizing of the gap between each CustomTicks

Hi I'm sorry that I'm not clear enough. I'm using CustomTicks for the Y-axis. Looking at the diagrams, you will notice the Y-axis tick interval in pixels is adjusted when I reduce the height of the chart. I am looking for a way to keep the Y-axis tick interval the same regardless of the height of th...
by hallo888
Sun Aug 03, 2014 9:44 am
Forum: LightningChart Ultimate WPF
Topic: Verticle scrollbar
Replies: 3
Views: 6941

Re: Verticle scrollbar

When I place the mouse cursor over the Y-axis, I am able to scroll the chart up and down. May I know what is the name of the control?

Thanks.
by hallo888
Fri Aug 01, 2014 8:25 am
Forum: LightningChart Ultimate WPF
Topic: Verticle scrollbar
Replies: 3
Views: 6941

Verticle scrollbar

Hi

How can I create a verticle scrollbar? I saw an example for a horizontal scrollbar, but not sure how to create a verticle one.

Thanks.
by hallo888
Fri Aug 01, 2014 1:52 am
Forum: LightningChart Ultimate WPF
Topic: Prevent resizing of the gap between each CustomTicks
Replies: 7
Views: 11523

Re: Prevent resizing of the gap between each CustomTicks

Hi I have uploaded 3 pictures. before_chart_resize.jpg - This shows how the chart looks like before the height of the panel is being resized. after_chart_resize.jpg - This shows how the chart looks like after the height of the panel is being resized. Noticed that the gab between each CustomTicks is ...
by hallo888
Thu Jul 31, 2014 10:25 am
Forum: LightningChart Ultimate WPF
Topic: Prevent resizing of the gap between each CustomTicks
Replies: 7
Views: 11523

Prevent resizing of the gap between each CustomTicks

Hi

I noticed that the gap between each CustomTicks will change in size when the size of the chart is changed. Is there a way to fix the gap size such that it remains unchanged when the size of the chart is changed?

Thanks!
by hallo888
Thu Jul 31, 2014 10:01 am
Forum: LightningChart Ultimate WPF
Topic: Fail to update chart in UI thread
Replies: 5
Views: 10019

Re: Fail to update chart in UI thread

Hi

My bad. I actually created 2 charts, with one hidden. I was updating the hidden chart, hence it was not shown on the displayed one.

Now, i've solved the issue.
by hallo888
Tue Jul 29, 2014 11:39 am
Forum: LightningChart Ultimate WPF
Topic: Fail to update chart in UI thread
Replies: 5
Views: 10019

Re: Fail to update chart in UI thread

Hi

I also replaced "lightningchart" with "this" (in both CheckAccess and Invoke), but it still doesn't work.
by hallo888
Mon Jul 28, 2014 2:27 pm
Forum: LightningChart Ultimate WPF
Topic: Fail to update chart in UI thread
Replies: 5
Views: 10019

Re: Fail to update chart in UI thread

Hi lightningchart is the name of the chart. Using the chartname in the constructor pose no issue. However, after creating the WorkerThread, updating the chart via a function in the class using invoke has the issue. I have checked that the attributes to the chart are set correctly. Is there a way to ...
by hallo888
Fri Jul 25, 2014 9:30 am
Forum: LightningChart Ultimate WPF
Topic: Fail to update chart in UI thread
Replies: 5
Views: 10019

Fail to update chart in UI thread

Hi I am using a WorkerThread to load data from a text file. Once the loading completes, a handler in the xxx.xaml.cs file will be invoked. In the handler, i used lightningchart.Dispatcher.CheckAccess() to check whether the current thread owns the control. Seems like it is not, thus i used the dispat...
by hallo888
Mon Apr 28, 2014 12:05 pm
Forum: LightningChart Ultimate WinForms
Topic: Creation of timeline chart
Replies: 3
Views: 9228

Creation of timeline chart

Hi I'm trying to create a timeline chart to represent the on/off time of say 50 machines. Machine A turns on from the 2nd hour to 10th hour, and then from 15th hour to 23rd hour. Machine B turns on from 0 hour to 8th hour, and then from 10th hour to 15th hour. And so on. Is the bar chart able to ach...
by hallo888
Wed Apr 16, 2014 2:09 am
Forum: LightningChart Ultimate WinForms
Topic: Queries on 3D Globe
Replies: 7
Views: 22179

Re: Queries on 3D Globe

Hi Pasi, Its seems like it i zoom alot into a particular location (camera viewing distance very small), i will go through the surface of the globe and be able to see the other side of the globe? is this the norm? To prevent that, is it that i need to constrain the minimum viewing distance such that ...
by hallo888
Tue Apr 15, 2014 7:38 am
Forum: LightningChart Ultimate WinForms
Topic: Computing of angle using CalcAngleOfLineVectorDouble()
Replies: 4
Views: 8337

Re: Computing of angle using CalcAngleOfLineVectorDouble()

It should work only for axes same amount of pixels in X and Y represent the same length (lat or long degree amount). So that's not probably not suitable for maps where they seldom are equal. This should work if you set ViewXY.ZoomPanOptions.AspectRatioOptions.AspectRatio = Manual, and .ManualAspect...
by hallo888
Tue Apr 15, 2014 6:53 am
Forum: LightningChart Ultimate WinForms
Topic: Computing of angle using CalcAngleOfLineVectorDouble()
Replies: 4
Views: 8337

Computing of angle using CalcAngleOfLineVectorDouble()

Hi, If i draw a line from Sydney (lat:-33.86785 long:151.20732) to Taipei (lat:25.04778 long:121.53185), the angle of the line should be around 320degrees. However, based on the following codes, i got 253 degrees. PointFloat p1 = new PointFloat(m_chart.ViewXY.XAxes[0].ValueCoord(151.20732f),m_chart....
by hallo888
Tue Apr 15, 2014 2:37 am
Forum: LightningChart Feature Requests
Topic: Support for offline map
Replies: 0
Views: 11972

Support for offline map

Hi,

I see that there is support to connect to online maps e.g. MapQuest. Are there any plans for lightning chart to support connection to WMS map server such as Geoserver?

Thanks!
by hallo888
Mon Apr 14, 2014 10:23 am
Forum: LightningChart Ultimate WinForms
Topic: Using of .shp files in 2D map
Replies: 10
Views: 18488

Re: Using of .shp files in 2D map

Thanks for the prompt reply. It much much faster after following ur suggestion. Thanks!

By the way, I realised that only Map.MapType.WorldLow have population information wheras Map.MapType.WorldHigh got no population information. Is that correct?
by hallo888
Mon Apr 14, 2014 9:49 am
Forum: LightningChart Ultimate WinForms
Topic: Using of .shp files in 2D map
Replies: 10
Views: 18488

Re: Using of .shp files in 2D map

Hi Pasi, Thanks for taking the trouble to help me update the LC assemblies. Below is the code which i use the Annotation3D to label the country name on the 3D globe. After executing the getCountry(), the foreach loop that takes around 1min and 34secs to complete. The foreach loop basically initialis...
by hallo888
Mon Apr 14, 2014 1:09 am
Forum: LightningChart Ultimate WinForms
Topic: Setting of Altitude of a wavepoint in the route in 3D globe
Replies: 2
Views: 7473

Re: Setting of Altitude of a wavepoint in the route in 3D gl

Hi Pasi, Thank you so much for ur help! May i ask what is the appropriate ElevationFactor that i should use in order to show a realistic elevation when the radius of the globe is now defined is km? And also lets say if my route comprises of 3 points. Each of the point has a different altitude value,...
by hallo888
Fri Apr 11, 2014 2:47 am
Forum: LightningChart Ultimate WinForms
Topic: Setting of Altitude of a wavepoint in the route in 3D globe
Replies: 2
Views: 7473

Setting of Altitude of a wavepoint in the route in 3D globe

Hi, Inside the ExampleGlobeSurface3D, the wave points in the route is derived from the lat/long position which is converted into a point on the globe(X,Y,Z) by using ConvertMapCoordTo3DPointOnSphere(). Any function for me to find out the altitude of the wavepoint from the earth as well as for me to ...
by hallo888
Fri Apr 11, 2014 1:24 am
Forum: LightningChart Ultimate WinForms
Topic: Using of .shp files in 2D map
Replies: 10
Views: 18488

Re: Using of .shp files in 2D map

Controlling annotation.Visible state by camera distance or so on would be one solution. Hi, sorry but could you explain more on what is meant by controlling annotation.Visible state by camera distance? This setting is done via the camera class or annotation class? I couldn't find any camera related...
by hallo888
Thu Apr 10, 2014 6:38 am
Forum: LightningChart Ultimate WinForms
Topic: Using of .shp files in 2D map
Replies: 10
Views: 18488

Re: Using of .shp files in 2D map

Hi, I have extracted the center location(lat,long) information from the .md file and thinking of using it to mark the countries on the 3D globe. My code are as follows: public struct CountryData { public string CountryName; public PointFloat centerPoint; //for storing the center location the country...
by hallo888
Wed Apr 09, 2014 4:45 am
Forum: LightningChart Ultimate WinForms
Topic: Queries on 3D Globe
Replies: 7
Views: 22179

Re: Queries on 3D Globe

Hi,

Thanks for trying. My graphics card is Nvidia Quadro 2000.
by hallo888
Tue Apr 08, 2014 9:12 am
Forum: LightningChart Ultimate WinForms
Topic: Using of .shp files in 2D map
Replies: 10
Views: 18488

Using of .shp files in 2D map

Hi, I had some .shp files which i have converted in .md format using the converter inside ExampleMaps.cs. May i know how do i add it to be displayed on top of my existing map? Is what i have done correct? //default map m_chart.ViewXY.Maps.Path = <md path> m_chart.ViewXY.Maps.Type = Map.MapType.World...
by hallo888
Tue Apr 08, 2014 9:02 am
Forum: LightningChart Ultimate WinForms
Topic: Queries on 3D Globe
Replies: 7
Views: 22179

Re: Queries on 3D Globe

Hi Pasi, Thanks for your reply. I have execute GetRenderDeviceInfo() and the values are 16384 for both width and height. The codes i am using is similar to the one in ExampleGlobeSurface3D.cs. The major change is that i set the m_photo path to the high resolution worldmap instead of WorldPhoto3600x1...
by hallo888
Mon Apr 07, 2014 9:14 am
Forum: LightningChart Ultimate WinForms
Topic: Queries on 3D Globe
Replies: 7
Views: 22179

Queries on 3D Globe

Hi, I have the following queries on the 3D globe: Loading of High Resolution Image In the example of the GlobeSurface3D, the application loads a world map of 3600*1800 resolution as the bitmap fill for the SurfaceMeshSeries3D object. When i tried replacing the bitmap fill with a higher resolution im...
by hallo888
Thu Mar 27, 2014 3:37 am
Forum: LightningChart Ultimate WinForms
Topic: Loading an Image in graph
Replies: 3
Views: 8102

Re: Loading an Image in graph

Hi Pasi, Thanks for the reply. I have added the image i wanted as an Annotation but i am facing some issues: 1) How do i remove the background colour behind the image? The image is originally a .png file and the white area is transparent when i view it. Is there any settings that i could set to make...
by hallo888
Wed Mar 26, 2014 11:14 am
Forum: LightningChart Ultimate WinForms
Topic: Loading an Image in graph
Replies: 3
Views: 8102

Loading an Image in graph

Hi, May i know is there any functions for loading of image(e.g. .png) into a graph? Apart from loading image as the map background or as annotations, i could not find any sample that simply just loads image into a graph. I intend to move the image layer on top of ViewXY graph. Any sample code will b...