mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: add label expression for time span
So we can show labels on things if zoomed in enough. We should also make this available for hover/query-tooltip/etc.
This commit is contained in:
@ -387,7 +387,8 @@ create_chart_for_marks (SysprofTrack *track,
|
||||
time_series = sysprof_time_series_new (sysprof_track_get_title (track),
|
||||
g_object_ref (G_LIST_MODEL (info->model)),
|
||||
gtk_property_expression_new (SYSPROF_TYPE_DOCUMENT_MARK, NULL, "time"),
|
||||
gtk_property_expression_new (SYSPROF_TYPE_DOCUMENT_MARK, NULL, "duration"));
|
||||
gtk_property_expression_new (SYSPROF_TYPE_DOCUMENT_MARK, NULL, "duration"),
|
||||
gtk_property_expression_new (SYSPROF_TYPE_DOCUMENT_MARK, NULL, "message"));
|
||||
|
||||
chart = g_object_new (SYSPROF_TYPE_CHART, NULL);
|
||||
layer = g_object_new (SYSPROF_TYPE_TIME_SPAN_LAYER,
|
||||
|
||||
Reference in New Issue
Block a user