Issue rendering a line chart (Microcharts) - xamarin

I am working on aligning a LineChart (from Microcharts library) in a xamarin forms application. As this chart does not have obvious properties for customization (or perhaps I am not aware of those right now), I am wondering how to achieve the following functionalities:
How to remove gaps around the chart?
How to give color to the point, I do not want to color a line?
How to remove the shaded area below the line (I just want a line and the points displayed on the chart)?
Code sample
Thank you

Related

Editing Chart Labels on Nativescript

I am developing a mobile application and currently working with charts (ScatterSeries to be more precise). By default, Nativescript shows the X and Y coordinates of Labels (showLabels="true"). Instead of this, I would like to display something different (let's say High, Medium, Low, etc...). I have looked for a property within labelStyle and ScatterSeries that will allow me to change this; but cannot find it (not sure this is the right approach).
PS: I am using this as a work-around since I couldn't figure a way to add a text to a certain area of the chart. So, if someone knows how to add a text label on a specific set of coordinates that will also do it.
Appreciate your help!

Highlight a specific line series data point in multiple line series of Live Charts WPF

I have been using Live Charts for a WPF application. I have a chart with multiple line series. The tooltip shows the data for all the line series. But on mouse hover on the chart, I would like to see the label of specific line series highlighted (in the tooltip). Is this possible?
Say, I have 10 line series in a chart. When I hover the mouse over any of the ten line series, the tooltip shows the same data. Is there a way that when I hover my mouse over 3rd line series, the data related to the 3rd line series must be highlighted somehow. Any help would be appreciated!
Thanks

How to specify custom image for either Scatter Chart or Bubble Chart?

I have a CombinedChart in my app (same app on both Android and iOS platforms using MPAndroidChart & iOS-Charts respectively) with stacked bars and a line but I also need to highlight specific points where a given event happened. I've got some small icon images (png) and need to place the correct image at the correct place on the graph depending on what type of event happened.
I have tried Bubble chart first and can get bubbles of the right colour at the right location but can't specify custom image instead of the bubbles' circles.
I am now trying Scatter Chart which does have a Custom shape option but it's not just a shape I need, it's a specific image. I have not worked with Core Graphics before so I'm not familiar with CGPath functions.
Is there a way to pass a UIImage to the ScatterChart customScatterShape property?
Or maybe a way to convert a UIImage created from a named png to a CGPath object which the Scatter Chart custom shape requires?
Thanks in advance for your suggestions!
As of MPAndroid version 3.0.2, you can pass in a Drawable as part of your Entry dataSet.add(new Entry(x, y, drawable)), and enable the drawIcons flag via dataSet.setDrawIcons(true).
Source code where icon gets drawn for Line charts specifically: LineChartRenderer.java

Kendo Scatter Chart - Different background colors for different areas

Consider the Kendo scatter chart HERE in the telerik demos. What I want is to visually separate the chart area with some background colors. As I know Kendo itself doesn't facilitate such configuration.
I'm tring to solve it within the Kendo. I guess it can be done through svg drawings. But I've never done it before. If it's really impossible is there any way to do it or is there any other scatter chart to fulfill this requirement.(saw somewhat similar thing in google charts)
I'm including the expected result as below.
I came up with this code . It does the exact thing what I want. This is the solution.

How to Change Legend Type in Excel?

I have a line chart, where the chart legend also in forms of line. Is there a way I can change the legend type from colored line to colored circle or square?
Figure like this. http://www.nevron.com/gallery/FullGalleries/chartActiveX/stackline/images/StackLine1.png
I don't think you can use this method to get circles, but if you want to get squares, you can change the chart to a 3-D line chart, then right-click the chart area and select '3-D Rotation'. Change everything in the Rotation section of the menu to as close to 0 as you can get it. This will make your chart show up as a regular line chart while the legend shows little cubes. After you've done that, though, you'll probably have to change the axis settings. In my experience, 3D charts tend to show too many gridlines.

Resources