-
Notifications
You must be signed in to change notification settings - Fork 46
Which attrs need to enable to get below chart #3
Comments
Hello, Thank you for using this library, You can see from the code below that Also don't forget to specify the max number. <com.hadiidbouk.charts.ChartProgressBar
android:id="@+id/ChartProgressBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
app:hdBarCanBeClick="true"
app:hdBarHeight="170dp"
app:hdBarWidth="7dp"
app:hdBarRadius="10dp"
app:hdMaxValue="10"
app:hdEmptyColor="@color/empty"
app:hdProgressColor="@color/progress"
app:hdProgressClickColor="@color/progress_click"
app:hdPinBackgroundColor="@color/pin_background"
app:hdPinTextColor="@color/pin_text"
app:hdPinPaddingBottom="5dp"
app:hdBarTitleColor="@color/bar_title_color"
app:hdBarTitleTxtSize="12sp"
app:hdPinTxtSize="17sp"
app:hdPinMarginTop="10dp"
app:hdPinMarginBottom="55dp"
app:hdPinMarginEnd="22dp"
app:hdBarTitleMarginTop="9dp"
app:hdPinDrawable="@drawable/ic_pin"
app:hdProgressDisableColor="@color/progress_disable"
app:hdBarTitleSelectedColor="@color/bar_title_selected_color"/> |
Hi, @hadiidbouk thanks for quick reply. as I can see when I set max value |
You are welcome, Unfortunately this feature isn't available, you can add |
BarData.class
Updated mMaxValue in build
But still there is not change in the max value in the bars. Is anything else I need to change. |
As I said you need to change the |
@hadiidbouk I create a PR, let's talk there I did the exact same thing. |
.
Is it possible to set max height of chart? Like In my case max height of the chart is different and as selected chart is different too. Is it possible to set different different chart heights.
The text was updated successfully, but these errors were encountered: