Williamchart — это библиотека openharmony, предназначенная для быстрой реализации привлекательных и информативных диаграмм в приложениях на основе harmony.
Обратите внимание: WilliamChart версии 3 был полностью переписан с нуля на Java и не гарантирует совместимости API/функций с предыдущими версиями. Разработка openharmony развивается быстро, и многое изменилось с тех пор, как я начал разрабатывать williamchart (например, шаблоны, тестирование, инструменты), поэтому я решил, что пришло время переписать его с учётом всех этих новых инструментов. Я намерен сохранить его максимально лёгким и модульным.
art/demo_screenshot.png
// Диаграммы
implementation 'io.openharmony.tpc.thirdlib:williamchart:1.0.0'
// Подсказки
implementation 'io.openharmony.tpc.thirdlib:tooltip-slider:1.0.0'
implementation 'io.openharmony.tpc.thirdlib:tooltip-points:1.0.0'
Если вы считаете эту библиотеку полезной и решите использовать её в своих проектах, пожалуйста, напишите мне @dfbernardino, я буду рад узнать об этом.
<com.db.williamchart.view.chart_view
...
hap:chart_labelsColor="color"
hap:chart_labelsSize="dimension"
hap:chart_labelsFont="font"
/>
<com.db.williamchart.view.LinechartView
...
hap:chart_lineColor="color"
hap:chart_lineThickness="dimension"
hap:chart_smoothLine=[ "true" | "false" ]
hap:chart_pointDrawable="media"
/>
<com.db.williamchart.view.BarChartView|HorizontalBarChartView
...
hap:chart_spacing="dimension"
hap:chart_barsColor="color"
hap:chart_barsBackgroundColor="color"
hap:chart_barsRadius="dimension"
/>
<com.db.williamchart.view.DonutChartView
...
hap:chart_donutThickness="dimension"
hap:chart_donutBackgroundColor="color"
hap:chart_donutRoundCorners="boolean"
hap:chart_donutTotal="float"
/>
Лицензия
Copyright 2019 Diogo Bernardino
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can comment after Login
Inappropriate content may be displayed here and will not be shown on the page. You can check and modify it through the relevant editing function
If you confirm that the content does not involve inappropriate language/advertisement redirection/violence/vulgar pornography/infringement/piracy/false/insignificant or illegal content related to national laws and regulations, you can click submit to make an appeal, and we will handle it as soon as possible.
Comments ( 0 )