SwiftChart icon indicating copy to clipboard operation
SwiftChart copied to clipboard

Displayed points for series in the graph.

Open pryaniq opened this issue 10 years ago • 3 comments

How use: yourSeriesName1.points = true yourSeriesName1.points = false chart.poinstWidth = 2.0

2015-11-12 12 07 18

pryaniq avatar Nov 12 '15 09:11 pryaniq

Hi @pryaniq thanks for your PR! I really appreciate the help. The points (better called markers) are a nice addition to the chart.

However I think we should provide a way to use a custom marker, e.g. I would not hard code the layer into the Chart class. I wonder also if we should provide methods for touch events.

There are some things in the code I have not clear – and performance improvements I'd like to apply (see comments). Would you mind to discuss the feature before going on with the PR?

gpbl avatar Dec 04 '15 23:12 gpbl

For example, each ChartSerie may have its own marker definition.

gpbl avatar Dec 05 '15 00:12 gpbl

@gpbl thanks for review. I will try to fix the code, according to the comments.

pryaniq avatar Dec 05 '15 05:12 pryaniq