Skip to content

Commit 89995d8

Browse files
authored
Merge pull request #12 from jaikeerthick/dev
Bug Fix: unwanted variable removed
2 parents 82fe194 + ec85fa7 commit 89995d8

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

app/src/main/java/com/jaikeerthick/composablegraphs/MainActivity.kt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,14 @@ class MainActivity : ComponentActivity() {
6464
remember { mutableStateOf(null) }
6565

6666
LineGraph(
67-
xAxisData = listOf("Sun",
68-
"Mon",
69-
"Tues",
70-
"Wed",
71-
"Thur",
72-
"Fri",
73-
"Sat").map {
67+
xAxisData = listOf("Sun", "Mon", "Tues", "Wed", "Thur", "Fri", "Sat").map {
7468
GraphData.String(it)
7569
},
7670
yAxisData = listOf(200, 40, 60, 450, 700, 30, 50),
7771
style = style2,
7872
onPointClicked = {
7973
clickedValue.value = it
8074
},
81-
isPointValuesVisible = true
8275
)
8376

8477
clickedValue.value?.let {

0 commit comments

Comments
 (0)